1
0
Fork 0

Update to version 0.6

This commit is contained in:
Moritz »mo.« Sauer 2014-09-12 21:48:41 +02:00
parent d7c1bfc765
commit ad67c5846c
16 changed files with 318 additions and 66 deletions

View file

@ -15,7 +15,7 @@
<div class="textwidget">
<h5 class="black-shadow">Services</h5>
<ul class="no-bullet black-shadow">
<li><a href="contact.html">Contact</a></li>
<li><a href="{{ site.url }}/contact/">Contact</a></li>
<li class="rss-link"><a href="{{ site.url }}/feed.xml">RSS</a></li>
<li class="sitemap-link"><a href="{{ site.url }}/sitemap.xml">Sitemap.xml</a></li>
</ul>
@ -37,8 +37,8 @@
<div class="row">
<div class="small-12 columns" style="text-align: right;">
<a class="entypo entypo-48" href="#top-of-page">&#59231;</a>
</div><!-- /.small-12.columns -->
<a class="entypo entypo-48" href="#top-of-page">&nbsp;&#59231;&nbsp;</a>
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
</div><!-- /#footer -->

View file

@ -10,6 +10,13 @@
{% if site.google_site_verification %}
<meta name="google-site-verification" content="{{ site.google_site_verification}}" />
{% endif %}
{% if page.meta_description %}
<meta name="description" content="{{ page.meta_description | strip_html | escape }}"/>
{% elsif page.description %}
<meta name="description" content="{{ page.description | strip_html | escape }}"/>
{% endif %}
{% if site.google_author %}
<link rel="author" href="{{ site.google_author }}"/>
{% endif %}

38
_includes/pagination.html Normal file
View file

@ -0,0 +1,38 @@
<!-- This loops through the paginated posts
Total posts: {{ paginator.total_posts }}
Total paginate-pages: {{ paginator.total_pages }}
-->
{% for post in paginator.posts %}
<div class="row">
<div class="small-12 columns bottom-60">
<p class="subtitle">{% if post.subtitle %}{{ post.subtitle }}{% endif %}<span class="subheader"><small> {{ post.date | date: "%d.%m.%Y" }} &middot; {% if post.categories %}{{ post.categories | join: ' &middot; ' }}{% endif %}</small></span></p>
<h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2>
<p>
{% if post.image.thumb %}<a href="{{ site.url }}{{ post.url }}" title="{{ post.title escape_once }}"><img src="{{ site.url }}/assets/img/{{ post.image.thumb }}" class="alignleft" width="150" height="150" alt="{{ page.title escape_once }}"></a>{% endif %}
{{ post.description }}
<a href="{{ site.url }}{{ post.url }}" title="Read {{ post.title escape_once }}"><strong>Read more </strong></a>
</p>
</div><!-- /.small-12.columns -->
</div><!-- /.row -->
{% endfor %}
<nav id="pagination">
{% if paginator.previous_page %}
{% if paginator.previous_page == 1 %}
<a class="radius button small" href="{{ site.url }}/blog/" title="Previous Posts">&laquo; Previous Posts</a>
{% else %}
<a class="radius button small" href="{{ site.url }}/blog/page{{ paginator.previous_page }}/" title="Previous Posts">&laquo; Previous</a>
{% endif %}
{% endif %}
<a class="radius button small" href="{{ site.url }}/blog/archive/" title="Blog Archive">Blog Archive</a>
{% if paginator.next_page %}
<a class="radius button small" href="{{ site.url }}/blog/page{{ paginator.next_page }}/" title="Next Posts">Next &raquo;</a>
{% endif %}
</nav>