updated page template

This commit is contained in:
Daniel Fichtinger 2025-06-27 22:44:09 -04:00
parent acdb42fdb9
commit 75c2bc2755
2 changed files with 4 additions and 1 deletions

View file

@ -1,4 +1,3 @@
from rich import print
from zona.models import Item, ItemType
from zona.metadata import parse_metadata
from zona import markdown as zmd

View file

@ -1,6 +1,10 @@
{% extends "base.html" %}
{% block content %}
<center><h1>{{ metadata.title }}</h1></center>
{% if metadata.date %}
<center><small><time datetime="{{ metadata.date | safe }}">{{ metadata.date | safe}}</time></small></center>
{% endif %}
<article>{{ content | safe }}</article>
{% endblock %}