From ff5fdcd170e6565f225c4d47caed14c2c8d73ca5 Mon Sep 17 00:00:00 2001 From: Miran Bastaja Date: Wed, 15 Nov 2023 02:53:51 +0100 Subject: Initial commit --- templates/base.html | 14 ++++++++++++++ templates/blog-page.html | 13 +++++++++++++ templates/index.html | 19 +++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/blog-page.html create mode 100644 templates/index.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..f07856d --- /dev/null +++ b/templates/base.html @@ -0,0 +1,14 @@ + + + + + + Sorre + + + + + {% block content %} {% endblock %} + + + diff --git a/templates/blog-page.html b/templates/blog-page.html new file mode 100644 index 0000000..f6e7ac7 --- /dev/null +++ b/templates/blog-page.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} + +{% block content %} + +
+

+ {{ page.title }} +

+ home +
+ +{{ page.content | safe }} +{% endblock content %} diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..8fb3c95 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} + +{% block content %} +

+ {{ section.title }} +

+ +

{{ section.description }}

+ +

+ Posts: +

+

+ +{% endblock %} -- cgit v1.3.1