update templates, recipe

This commit is contained in:
Daniel Fichtinger 2025-06-21 23:16:38 -04:00
parent 9d38ed70fb
commit 8585f25816
3 changed files with 17 additions and 1 deletions

View file

@ -1,3 +1,8 @@
build:
@just run build
serve:
@just run build
@just run serve
run arg:
#!/bin/sh
if [ -d "public" ] && [ "{{arg}}" = "build" ]; then

View file

@ -13,7 +13,19 @@
</head>
<body>
<div id="container">
{% if header %}
<header id="header">
{{ header | safe }}
<hr>
</header>
{% endif %}
{% block content %}{% endblock %}
{% if footer %}
<footer id="footer">
<hr>
{{ footer | safe }}
</footer>
{% endif %}
</div>
</body>
</html>

View file

@ -1,7 +1,6 @@
{% extends "base.html" %}
{% block content %}
<h1>{{ metadata.title }}</h1>
<article>{{ content | safe }}</article>
{% endblock %}