Fix whitespace

This commit is contained in:
kpcyrd 2014-09-09 19:18:10 +02:00
parent 3da2784050
commit 510797225f
7 changed files with 58 additions and 71 deletions

View file

@ -1,31 +1,29 @@
<footer class="site-footer">
<div class="wrap row">
<div class="col-lg-4">
<ul>
{% if site.github_username %}<li>
<span class="fa fa-github-alt"></span>
<a href="https://github.com/{{ site.github_username }}">
<span class="username">{{ site.github_username }}</span>
</a>
</li>{% endif %}
{% if site.twitter_username %}<li>
<span class="fa fa-twitter"></span>
<a href="https://twitter.com/{{ site.twitter_username }}">
<span class="username">{{ site.twitter_username }}</span>
</a>
</li>{% endif %}
</ul>
</div>
<div class="col-lg-4 text-center">
<img src="/images/cc-by-sa.png">
</div>
<div class="col-lg-4">
<p class="text">{{ site.description }}</p>
</div>
<div class="wrap row">
<div class="col-lg-4">
<ul>
{% if site.github_username %}<li>
<span class="fa fa-github-alt"></span>
<a href="https://github.com/{{ site.github_username }}">
<span class="username">{{ site.github_username }}</span>
</a>
</li>{% endif %}
{% if site.twitter_username %}<li>
<span class="fa fa-twitter"></span>
<a href="https://twitter.com/{{ site.twitter_username }}">
<span class="username">{{ site.twitter_username }}</span>
</a>
</li>{% endif %}
</ul>
</div>
<div class="col-lg-4 text-center">
<img src="/images/cc-by-sa.png">
</div>
<div class="col-lg-4">
<p class="text">{{ site.description }}</p>
</div>
</div>
</footer>

View file

@ -10,5 +10,4 @@
<link rel="stylesheet" href="{{ "/css/bootstrap.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/css/font-awesome.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
</head>

View file

@ -1,13 +1,9 @@
<header class="site-header">
<div class="wrap">
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
<div class="wrap">
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
<nav class="site-nav">
<nav class="site-nav">
<a class="page-link" href="{{ site.about_page }}">About</a>
</nav>
</div>
</nav>
</div>
</header>

View file

@ -1,19 +1,17 @@
<!DOCTYPE html>
<html>
{% include head.html %}
{% include head.html %}
<body>
{% include header.html %}
<div class="page-content">
<div class="wrap">
{{ content }}
</div>
<div class="wrap">
{{ content }}
</div>
</div>
{% include footer.html %}
</body>
</html>
</html>

View file

@ -2,13 +2,11 @@
layout: default
---
<div class="post">
<header class="post-header">
<h1>{{ page.title }}</h1>
</header>
<header class="post-header">
<h1>{{ page.title }}</h1>
</header>
<article class="post-content">
{{ content }}
</article>
</div>
<article class="post-content">
{{ content }}
</article>
</div>

View file

@ -2,14 +2,12 @@
layout: default
---
<div class="post">
<header class="post-header">
<h1>{{ page.title }}</h1>
<p class="meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
</header>
<header class="post-header">
<h1>{{ page.title }}</h1>
<p class="meta">{{ page.date | date: "%b %-d, %Y" }}{% if page.author %} • {{ page.author }}{% endif %}{% if page.meta %} • {{ page.meta }}{% endif %}</p>
</header>
<article class="post-content">
{{ content }}
</article>
</div>
<article class="post-content">
{{ content }}
</article>
</div>

View file

@ -3,12 +3,12 @@ layout: default
---
<div class="home">
<ul class="posts row">
{% for service in site.data.services %}
<li class="col-6 col-sm-6 col-lg-4">
<h2><span class="fa fa-{{ service.icon }}"></span> <a href="{{ service.url }}">{{ service.title }}</a></h2>
<p>{{ service.text }}</p>
</li>
{% endfor %}
</ul>
<ul class="posts row">
{% for service in site.data.services %}
<li class="col-6 col-sm-6 col-lg-4">
<h2><span class="fa fa-{{ service.icon }}"></span> <a href="{{ service.url }}">{{ service.title }}</a></h2>
<p>{{ service.text }}</p>
</li>
{% endfor %}
</ul>
</div>