34 lines
890 B
HTML
34 lines
890 B
HTML
|
|
||
|
{% extends "base.html" %}
|
||
|
{% block content %}
|
||
|
|
||
|
<section class="post">
|
||
|
<div class="post-header">
|
||
|
<div class="meta">
|
||
|
<div class="date">
|
||
|
<span class="day">{{ page.date | date(format='%d')}}</span>
|
||
|
<span class="rest">{{ page.date | date(format='%b %y')}}</span>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="matter">
|
||
|
<h1 class="title">{{ page.title }} {% if page.draft %}<span class="draft">Draft</span>{% endif %}</h1>
|
||
|
</div>
|
||
|
</div>
|
||
|
{{ hooks::above_page(page=page) }}
|
||
|
<article>{{ page.content | safe }}</article>
|
||
|
|
||
|
|
||
|
{{ hooks::below_page(page=page) }}
|
||
|
{% if page.taxonomies is containing ("tags") %}
|
||
|
<ul class="tags">
|
||
|
{% for tag in page.taxonomies["tags"] %}
|
||
|
<li><a href='/tags/{{ tag | slugify }}'>{{ tag }}</a></li>
|
||
|
{% endfor %}
|
||
|
</ul>
|
||
|
{% endif %}
|
||
|
|
||
|
{{ hooks::below_tags(page=page) }}
|
||
|
</section>
|
||
|
{% endblock content %}
|