2013-11-18 01:08:13 +01:00
|
|
|
---
|
2013-11-18 23:26:34 +01:00
|
|
|
layout: base
|
2013-11-21 21:15:26 +01:00
|
|
|
title: kremalicious
|
|
|
|
description: 'Blog of designer & developer Matthias Kretschmann'
|
2013-11-18 01:08:13 +01:00
|
|
|
---
|
|
|
|
|
2013-11-24 00:13:48 +01:00
|
|
|
{% if paginator.next_page == 2 %}
|
|
|
|
{% include featured.html %}
|
|
|
|
{% endif %}
|
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
<section role="main" id="main" class="row">
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
{% for post in paginator.posts %}
|
2013-11-18 23:26:34 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
{% if post.layout == "link" %}
|
|
|
|
|
|
|
|
<article class="hentry format-link">
|
|
|
|
<header>
|
|
|
|
<h1 class="entry-title">
|
|
|
|
<a href="{{ post.linkurl }}" title="Go to source">{{ post.title }} <i class="icon-forward"></i></a>
|
|
|
|
</h1>
|
|
|
|
</header>
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
<section class="entry-content">
|
|
|
|
{{ post.content }}
|
|
|
|
<p>
|
|
|
|
<a class="more-link" href="{{ post.linkurl }}">Go to source <i class="icon-forward"></i></a>
|
|
|
|
<a class="permalink-link" href="{{ post.url }}" rel="tooltip" title="Permalink">∞</a>
|
|
|
|
</p>
|
|
|
|
</section>
|
|
|
|
</article>
|
2013-11-18 23:26:34 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
{% elsif post.layout == "image" %}
|
2013-11-18 23:26:34 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
<article class="hentry format-image">
|
2013-11-18 23:26:34 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
<a class="photoPost" href="{{ post.url }}">
|
|
|
|
<figure class="hmedia">
|
2013-11-18 23:26:34 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
{% picture {{ post.image }} %}
|
2013-11-22 00:06:00 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
<figcaption class="entry-title fn">{{ post.title }}</figcaption>
|
|
|
|
exif
|
|
|
|
</figure>
|
|
|
|
</a>
|
2013-11-18 23:26:34 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
</article>
|
2013-11-18 23:26:34 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
{% else %}
|
2013-11-18 23:26:34 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
<article class="hentry format-post">
|
|
|
|
<header>
|
|
|
|
<h1 class="entry-title"><a href="{{ post.url }}">{{ post.title }}</a></h1>
|
|
|
|
</header>
|
2013-11-18 23:26:34 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
<section class="entry-content">
|
2013-11-18 23:54:59 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
{% if post.image %}
|
|
|
|
<a href="{{ post.url }}">
|
|
|
|
{% picture {{ post.image }} class="teaser" %}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
2013-11-18 23:54:59 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
{% capture has_more %}{{ post.content | has_more }}{% endcapture %}
|
2013-11-21 22:01:36 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
{% if has_more == 'true' %}
|
|
|
|
{{ post.content | post.excerpt | excerpt }}
|
|
|
|
{% else %}
|
|
|
|
{{ post.excerpt }}
|
|
|
|
{% endif %}
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
<a class="more-link" href="{{ post.url }}">Continue reading <i class="icon-arrow-right"></i></a>
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
</section>
|
|
|
|
</article>
|
2013-11-18 23:26:34 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
{% endif %}
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-11-23 21:53:52 +01:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</section>
|
2013-11-20 23:33:58 +01:00
|
|
|
|
|
|
|
<nav class="row pager pagination">
|
|
|
|
{% if paginator.previous_page %}
|
|
|
|
|
|
|
|
<p class="previous col2 alignleft">
|
|
|
|
<i class="icon-arrow-left"></i>
|
|
|
|
{% if paginator.previous_page == 1 %}
|
|
|
|
<a href="/" rel="prev">Previous</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="/page/{{ paginator.previous_page }}/" rel="prev">Previous</a>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
2013-11-23 21:53:52 +01:00
|
|
|
<p class="col2 pagenumber textcenter">
|
2013-11-20 23:33:58 +01:00
|
|
|
<span class="page_number ">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
|
|
|
|
</p>
|
|
|
|
{% if paginator.next_page %}
|
|
|
|
<p class="next col2 alignright">
|
|
|
|
<a href="/page/{{ paginator.next_page }}/" rel="next">Next</a>
|
|
|
|
<i class="icon-arrow-right"></i>
|
|
|
|
</p>
|
|
|
|
{% endif %}
|
|
|
|
</nav>
|