updated page template
This commit is contained in:
parent
acdb42fdb9
commit
75c2bc2755
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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 %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue