Initial commit -- migration to zola

This commit is contained in:
Petr Velička 2025-05-24 12:21:17 +02:00
commit a79e7faa87
Signed by: petrvel
GPG key ID: E8F909AFE649174F
55 changed files with 375 additions and 0 deletions

27
templates/post.html Normal file
View file

@ -0,0 +1,27 @@
{% extends "base.html" %}
{% block page_title %}
{{page.title}} |
{% endblock page_title %}
{% block nav %}
<ul>
<!-- If you are using pagination, section.pages will be empty.
You need to use the paginator object -->
{% set section = get_section(path=page.ancestors | last) %}
<li><a href="{{ section.permalink | safe }}">{{ section.title | lower }}/</a></li>
{% for p in section.pages %}
<li><a href="{{ p.permalink | safe }}">{{ p.slug }}/</a></li>
{% endfor %}
</ul>
{% endblock nav %}
{% block content %}
<h1 class="title">
{{ page.title }}
</h1>
<p class="subtitle"><strong>{{ page.date }}</strong></p>
{{ page.content | safe }}
{% endblock content %}