26 lines
902 B
HTML
26 lines
902 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block main -%}
|
|
<article>
|
|
{% if page.title -%}
|
|
<h1>{{ page.title }}</h1>
|
|
{% endif -%}
|
|
{% if page.date -%}
|
|
<small>
|
|
{%- if page.draft %}Draft {% endif -%}
|
|
Published <time datetime="{{ page.date }}">{{ page.date | date(format="%F %R%:::z") }}</time>
|
|
{%- if page.updated -%}
|
|
, Updated <time datetime="{{ page.updated }}">{{ page.updated | date(format="%F %R%:::z") }}</time>
|
|
{%- endif -%}
|
|
</small>
|
|
{%- endif %}
|
|
{{ page.content | safe -}}
|
|
{% if page.tags -%}
|
|
<small>
|
|
<ul class="tags">
|
|
{% for tag in page.tags %}<li><a href="{{base_url | safe}}tags/{{tag}}/">#{{ tag }}</a></li>{% endfor %}
|
|
</ul>
|
|
</small>
|
|
{%- endif %}
|
|
</article>
|
|
{% endblock main -%}
|