2013-11-18 01:08:13 +01:00
|
|
|
---
|
2013-11-18 23:26:34 +01:00
|
|
|
layout: base
|
2013-11-18 22:09:20 +01:00
|
|
|
title: Home
|
2013-11-18 01:08:13 +01:00
|
|
|
---
|
|
|
|
|
2013-11-18 22:09:20 +01:00
|
|
|
{% for post in site.posts %}
|
|
|
|
|
2013-11-18 23:26:34 +01:00
|
|
|
{% if post.layout == "link" %}
|
|
|
|
|
|
|
|
<article class="hentry format-link">
|
|
|
|
<header>
|
|
|
|
<h1 class="entry-title">
|
|
|
|
<a href="{{ post.linkurl }}">{{ post.title }} <i class="icon-forward"></i></a>
|
|
|
|
</h1>
|
|
|
|
</header>
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-11-18 23:26:34 +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>
|
|
|
|
|
|
|
|
{% elsif post.layout == "image" %}
|
|
|
|
|
|
|
|
<article class="hentry format-image">
|
|
|
|
|
|
|
|
<a class="photoPost" href="{{ post.url }}">
|
|
|
|
<figure class="hmedia">
|
|
|
|
|
2013-11-18 23:54:59 +01:00
|
|
|
<img src="/media/{{ post.image }}" />
|
2013-11-18 23:26:34 +01:00
|
|
|
<figcaption class="entry-title fn">{{ post.title }}</figcaption>
|
|
|
|
exif
|
|
|
|
</figure>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</article>
|
|
|
|
|
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<article class="hentry format-post">
|
|
|
|
<header>
|
|
|
|
<h1 class="entry-title"><a href="{{ post.url }}">{{ post.title }}</a></h1>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<section class="entry-content">
|
2013-11-18 23:54:59 +01:00
|
|
|
|
|
|
|
{% if post.image %}
|
|
|
|
<a href="{{ post.url }}">
|
|
|
|
<img src="/media/{{ post.image }}" />
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
|
2013-11-18 23:26:34 +01:00
|
|
|
{{ post.excerpt }}
|
2013-11-18 22:09:20 +01:00
|
|
|
|
2013-11-18 23:26:34 +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-18 23:26:34 +01:00
|
|
|
</section>
|
|
|
|
</article>
|
|
|
|
|
|
|
|
{% endif %}
|
2013-11-18 22:09:20 +01:00
|
|
|
|
|
|
|
{% endfor %}
|