From fc6e82f8f35bc178fc01c01f75bd3fc090d22a99 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 18 Oct 2023 20:00:35 -0600 Subject: add link to tags --- templates/section.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/section.html') diff --git a/templates/section.html b/templates/section.html index 2a9e863..f713ad8 100644 --- a/templates/section.html +++ b/templates/section.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}Section{% endblock %} +{% block title %}{% if title is defined %}{{title}}{% else %}Section{% endif %}{% endblock %} {% block body %} @@ -15,11 +15,11 @@
  • Published On: {{post.date}}
  • Tags: {% for tag in post.tags %} - {{ tag }}, + {{ tag }}{{ ", " if not loop.last else "" }} {% endfor %} {% endfor %} -{% endblock %} \ No newline at end of file +{% endblock %} -- cgit v1.2.3