31 lines
1 KiB
HTML
31 lines
1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{%- block octo_head %}
|
|
{%- endblock -%}
|
|
|
|
{% block content %}
|
|
<article class="blog-post">
|
|
<h1 id="post-title">{{ page.title }}</h1>
|
|
<div class="content-metadata">
|
|
<div class="content-date">
|
|
<time class="post-date">
|
|
{{- page.date | date(format="%Y-%m-%d %H:%M:%S") -}}
|
|
</time>
|
|
</div>
|
|
{%- for taxonomy, terms in page.taxonomies -%}
|
|
{%- if taxonomy == "tags" -%}
|
|
<div class="content-tags"><span>tags:</span><ul>
|
|
{%- for tag in terms -%}
|
|
<li><a
|
|
class="content-tags"
|
|
href="{{ get_taxonomy_url(kind="tags", name=tag, lang=page.lang) }}">
|
|
{{- tag -}}
|
|
</a></li>
|
|
{%- endfor -%}
|
|
</ul></div>
|
|
{%- endif -%}
|
|
{% endfor -%}
|
|
</div>
|
|
{{ page.content | safe }}
|
|
</article>
|
|
{%- endblock content -%}
|