diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-07-04 11:36:33 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-07-04 11:36:33 -0700 |
| commit | fccd15aec3507fd3f0cb4a2c18a0ec1af1d69c1f (patch) | |
| tree | f506115024e7e6247279409fa053e59927ec398c /templates/page.html | |
| parent | dont format html files with prettier (diff) | |
| download | fcuny.net-fccd15aec3507fd3f0cb4a2c18a0ec1af1d69c1f.tar.gz | |
migrate to zola
Diffstat (limited to 'templates/page.html')
| -rw-r--r-- | templates/page.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..1026cd0 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,28 @@ +{% extends "base.html" %} + +{% block title %}{{ page.title }} - {{ config.title }}{% endblock title %} + +{% block content -%} +<main> +<h1>{{ page.title }}</h1> +<p class="date"> + <time datetime="{{ page.date | date(format="%+") }}"> + {{- page.date | date(format="%B %m, %Y") -}} + </time> + {%- if page.updated %} + • + updated <time datetime="{{ page.updated | date(format="%+") }}"> + {{- page.updated | date(format="%B %m, %Y") -}} + </time> + {%- endif %} +</p> + +{{ page.content | safe -}} +</main> + +<hr> +<p> +<b><a href="/">↑ back home</a></b> +</p> + +{%- endblock content %} |
