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

32 lines
925 B
HTML

---
layout: base
---
<article class="hentry format-post">
<header>
<h1 class="entry-title">{{ page.title }}</h1>
</header>
<section class="entry-content">
{% if page.image %}
<img class="teaser" src="/media/{{ page.image }}" />
{% 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>