blog/templates/content.html
2026-05-02 05:03:05 -03:00

29 lines
997 B
HTML

{% extends "base.html" %}
{%- block extra_head %}
{%- endblock -%}
{% block content %}
<article class="blog-post">
<h1 id="post-title">{{ page.title }}</h1>
<div class="content-metadata">
<time class="post-date">
{{- page.date | date(format="%Y-%m-%d %H:%M:%S") -}}
</time>
{%- 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 -%}