From 9fddbf763f5abb41794484edce788b0e8f4e1e0a Mon Sep 17 00:00:00 2001 From: Bun Date: Tue, 1 Jul 2025 22:06:38 -0400 Subject: [PATCH] get the 'all tags' function to work --- templates/blog.html | 10 ++++++++-- templates/tags/list.html | 25 +++++++++++++++++++------ templates/tags/single.html | 21 +++++++-------------- 3 files changed, 34 insertions(+), 22 deletions(-) diff --git a/templates/blog.html b/templates/blog.html index eeeaa7c..009f200 100644 --- a/templates/blog.html +++ b/templates/blog.html @@ -4,15 +4,21 @@

{{ section.title }}

+ +

sort by tags.

+ diff --git a/templates/tags/list.html b/templates/tags/list.html index 070014e..d21e608 100644 --- a/templates/tags/list.html +++ b/templates/tags/list.html @@ -1,8 +1,21 @@ {% extends "base.html" %} -{% if page.taxonomies.tags %} -tags: -{% for tag in page.taxonomies.tags %} - {{ tag }} -{% endfor %} -{% endif %} +{%- block title -%} +{{ title_macros::title(page_title="Tags", main_title=config.title) }} +{%- endblock -%} + +{% block content %} +
+

all tags

+ + +
+{% endblock content %} diff --git a/templates/tags/single.html b/templates/tags/single.html index 8cf6fb1..fbea463 100644 --- a/templates/tags/single.html +++ b/templates/tags/single.html @@ -1,11 +1,6 @@ {% extends "base.html" %} {% block content %} - - {% block title %} - {{ config.title }} · tags · {{ term.name }} - {% endblock title %} -

{{ term.name }}

@@ -15,15 +10,13 @@