grimoire/example/homepage.templ.html

12 lines
365 B
HTML
Raw Permalink Normal View History

2025-01-05 22:13:57 +00:00
{% extends template_dir + "/layout.templ.html" %}
{% block title %}Homepage{% endblock %}
{% block content %}
{{ current.markdown_compiled | safe }}
<h2>My latest blog articles:</h2>
<ul>
{% for entry in tags["blog"] %}
<li><a href="{{ entry.output }}">{{ entry.title }}</a> ({{ entry.date }})</li>
{% endfor %}
</ul>
{% endblock %}