From 9c1f02f9099b0da48c0bec7f23fa8c0566a331f3 Mon Sep 17 00:00:00 2001
From: Jieiku
Date: Mon, 30 May 2022 22:33:42 -0700
Subject: Whitespace Cleanup, Fix Recent
---
templates/categories/list.html | 14 +++++++++-----
templates/categories/single.html | 13 +++++++++----
2 files changed, 18 insertions(+), 9 deletions(-)
(limited to 'templates/categories')
diff --git a/templates/categories/list.html b/templates/categories/list.html
index 89bbc23..bce31fa 100644
--- a/templates/categories/list.html
+++ b/templates/categories/list.html
@@ -1,12 +1,16 @@
{% extends "base.html" %}
{% block content %}
-
+
{{ terms | length }} Categories
{% for term in terms -%}[{{ term.name }}] {%- endfor %}
- {% for term in terms -%}
- {% for page in term.pages -%}
{{ page.title }} -
- {% endfor -%}{% endfor -%}
-
{% endblock content %}
+ {% for term in terms -%}
+
+ {% for page in term.pages -%}
+
{{ page.title }} -
+ {% endfor -%}
+ {% endfor -%}
+
+{% endblock content %}
diff --git a/templates/categories/single.html b/templates/categories/single.html
index d5fe5b7..641add7 100644
--- a/templates/categories/single.html
+++ b/templates/categories/single.html
@@ -1,8 +1,13 @@
{% extends "base.html" %}
{% block content %}
-
+
{{ term.name }}
- {% for year, posts in term.pages | group_by(attribute="year") %}
{{ year }}
- {% for page in posts %}
{{ page.title }} -
- {% endfor %}{% endfor %}
{% endblock content %}
+ {% for year, posts in term.pages | group_by(attribute="year") %}
+
{{ year }}
+ {% for page in posts %}
+
{{ page.title }} -
+ {% endfor %}
+ {% endfor %}
+
+{% endblock content %}
--
cgit v1.3.1