1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-24 02:06:17 +01:00
blog/_src/_layouts/post.html

32 lines
925 B
HTML
Raw Normal View History

2013-11-18 01:08:13 +01:00
---
layout: base
2013-11-18 01:08:13 +01:00
---
<article class="hentry format-post">
<header>
<h1 class="entry-title">{{ page.title }}</h1>
</header>
<section class="entry-content">
2013-11-18 23:54:59 +01:00
{% if page.image %}
2013-11-19 23:21:19 +01:00
<img class="teaser" src="/media/{{ page.image }}" />
2013-11-18 23:54:59 +01:00
{% endif %}
{{ content }}
</section>
<footer class="entry-meta">
2013-11-19 00:47:36 +01:00
<p class="category">
{% for category in page.categories %}
<a rel="category tag" href="" title="{{ category }}">{{ category }}</a>
{% endfor %}
</p>
2013-11-19 00:47:36 +01:00
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
2013-11-19 23:21:19 +01:00
<div class="time">
<p>{{ page.date | date_to_string }}</p>
{% if page.moddate %}
<p class="modtime">updated: {{ page.moddate | date_to_string }}</p>
{% endif %}
</div>
</footer>
</article>