From c755974cf6d153f4ae668765ae7c95348c3c60b6 Mon Sep 17 00:00:00 2001 From: nikolaosboutalas Date: Mon, 28 Oct 2024 12:38:54 +0200 Subject: posts: add section --- templates/posts-page.html | 4 ++++ templates/posts-section.html | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 templates/posts-page.html create mode 100644 templates/posts-section.html (limited to 'templates') diff --git a/templates/posts-page.html b/templates/posts-page.html new file mode 100644 index 0000000..a3b0b8a --- /dev/null +++ b/templates/posts-page.html @@ -0,0 +1,4 @@ +{% extends "base.html" %} {% block body %} +

{{ page.title }}

+

{{ page.date }}

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

{{ section.title }}

+

{{ section.content | safe }}

+ +{% endblock body %} -- cgit v1.2.3