feat: add pages.html template

This commit is contained in:
st1020 2023-10-23 20:35:59 +08:00
parent e83ca5bddc
commit eca48537f7
3 changed files with 11 additions and 2 deletions

10
templates/pages.html Normal file
View file

@ -0,0 +1,10 @@
{% extends "index.html" %}<!---->
{% block main %}
<article>
<header class="mb-16">
<h1 class="!my-0 pb-2.5">{{ page.title }}</h1>
</header>
<section>{{ page.content | safe }}</section>
</article>
{% endblock main %}