From d45551a628cb51fed0dac9efe089aa223cabb196 Mon Sep 17 00:00:00 2001 From: devels Date: Fri, 4 Sep 2026 20:59:23 +0100 Subject: initial commit --- templates/base.html | 16 ++++++++++++++++ templates/index.html | 4 ++++ templates/page.html | 6 ++++++ templates/section.html | 9 +++++++++ 4 files changed, 35 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/index.html create mode 100644 templates/page.html create mode 100644 templates/section.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..4e79148 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,16 @@ + + + + + {% block title %}{{ config.title }}{% endblock %} + + + + +
{% block content %}{% endblock %}
+ + + diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..b539396 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} +{% block content %} + {{ section.content | safe }} +{% endblock %} diff --git a/templates/page.html b/templates/page.html new file mode 100644 index 0000000..7e1febd --- /dev/null +++ b/templates/page.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} +{% block content %} +

{{ page.title }}

+ + {{ page.content | safe }} +{% endblock %} diff --git a/templates/section.html b/templates/section.html new file mode 100644 index 0000000..cae39d3 --- /dev/null +++ b/templates/section.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} +{% block content %} + {{ section.content | safe }} + +{% endblock %} -- cgit v1.2.3