update templates to inherit themselves instead of manually doing it

This commit is contained in:
zyl 2024-11-05 13:54:04 -08:00
parent 32965f0cff
commit b1e7529efc
Signed by: zyl
SSH key fingerprint: SHA256:uxxbSXbdroP/OnKBGnEDk5q7EKB2razvstC/KmzdXXs
6 changed files with 37 additions and 55 deletions

View file

@ -1,3 +1,5 @@
{% extends "base.tera" %}
{% block content %}
<div class="blog-post">
<h1 class="title">{{title}}</h1>
<span class="timestamp">published {{timestamp}}</span>
@ -20,3 +22,4 @@
{% endfor %}
</div>
</div>
{% endblock content %}