aboutsummaryrefslogtreecommitdiff
path: root/templates/page.html
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-05-10 17:52:28 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-05-10 17:52:28 +0200
commite9e2af423557b50c416b68559bab7786bee35ff2 (patch)
treeabdc86803f1de9926bd628728a375f3c583a14bc /templates/page.html
downloadguide.deuxfleurs.fr-e9e2af423557b50c416b68559bab7786bee35ff2.tar.gz
guide.deuxfleurs.fr-e9e2af423557b50c416b68559bab7786bee35ff2.zip
Initial commit
Diffstat (limited to 'templates/page.html')
-rw-r--r--templates/page.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/page.html b/templates/page.html
new file mode 100644
index 0000000..c6d8610
--- /dev/null
+++ b/templates/page.html
@@ -0,0 +1,15 @@
+{% import "_macros.html" as macros %}
+{% extends "index.html" %}
+
+{% block title %}{{ page.title }} | {{ super() }} {% endblock title %}
+
+{% block header %}
+<header class="box-shadow">
+ {{ macros::render_header() }}
+</header>
+{% endblock header %}
+
+{% block content %}
+<div class="heading-text">{{ page.description }}</div>
+{{ page.content | safe }}
+{% endblock content %} \ No newline at end of file