my-website/templates/page.html

7 lines
235 B
HTML

{% extends "base.html" %} {% block content %}
<h1 class="title">{{ page.title }}</h1>
<article>
<p class="subtitle"><strong>Published on: {{ page.date }}</strong></p>
{{ page.content | safe }}
</article>
{% endblock content %}