diff options
author | Dennis Eriksen <d@ennis.no> | 2023-01-20 12:06:49 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-01-20 12:06:49 +0100 |
commit | d1d65c94b888c2959c9da799e4329161ede449ea (patch) | |
tree | 7551a0488ebd56d337a5bf22d7b5ec21a0a4a4e2 /templates/page.html | |
parent | relative links on front page (diff) | |
download | rikerz-d1d65c94b888c2959c9da799e4329161ede449ea.tar.gz |
Made Riker into a Zola-theme - Rikerz
Diffstat (limited to 'templates/page.html')
-rw-r--r-- | templates/page.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..6a83bc0 --- /dev/null +++ b/templates/page.html @@ -0,0 +1,23 @@ +{% extends "index.html" %} + +{% block title %}{{ page.title }} · {{ config.title }}{% endblock title %} + +{% block header %} +<header> + <a href="/"><img id="logofloat" src="{{ config.extra.logo }}" /></a> +</header> +{% endblock header %} + +{% block content %} + <article> + <h1>{{ page.title }}</h1> + <span class="single-date">{{ page.date | date(format="%B %e, %Y") }}</span> +{% if page.updated | date %} + <br> + <span class="single-date"><small>Last modified {{ page.updated | date(format="%B %e, %Y") }}</small></span> +{% endif %} + +{{ page.content | safe }} + + </article> +{% endblock content %} |