1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 18:00:06 +01:00
blog/_src/_layouts/post.html

38 lines
1.1 KiB
HTML

---
layout: base
---
<section role="main" id="main" class="page-single row">
<article class="hentry format-post">
<header>
<h1 class="entry-title">{{ page.title }}</h1>
</header>
<section class="entry-content">
{% if page.image %}
{% picture {{ page.image }} class="teaser" %}
{% endif %}
{{ content }}
</section>
<footer class="entry-meta">
<p class="category">
{% for category in page.categories %}
<a rel="category tag" href="" title="{{ category }}">{{ category }}</a>
{% endfor %}
</p>
<p class="byline author vcard source-org"><span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a></p>
<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>
</section>
{% include related_posts.html %}