From dfa689a0b73238f3dfa7b127fd494b4826b76a55 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Thu, 5 May 2022 14:38:34 +0200 Subject: [PATCH] Implement categories This currently works only somewhat, since the URLs are too relative. Not related to RELATIVE_URLS setting, though. --- test-theme/templates/category.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test-theme/templates/category.html b/test-theme/templates/category.html index 6318aa0..fcd8de6 100644 --- a/test-theme/templates/category.html +++ b/test-theme/templates/category.html @@ -1,6 +1,11 @@ {% extends 'base.html' %} -{% set page_title = "TODO" %} +{% set page_title = "Category: " + category.name %} {% block content %} -{# TODO! #} +

Category: {{ category.name }}

+ {% endblock content %}