From 30ea88e8d8c201c3fcce409a54712de820610dff Mon Sep 17 00:00:00 2001
From: Jieiku
Date: Mon, 30 May 2022 23:20:43 -0700
Subject: Add Favicons, Add Head Macro, 404 noindex, config.toml Resources,
Whitespace Cleanup
---
templates/categories/list.html | 26 +++++++++++++-------------
templates/categories/single.html | 20 ++++++++++----------
2 files changed, 23 insertions(+), 23 deletions(-)
(limited to 'templates/categories')
diff --git a/templates/categories/list.html b/templates/categories/list.html
index bce31fa..485d54d 100644
--- a/templates/categories/list.html
+++ b/templates/categories/list.html
@@ -1,16 +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 -%}
+{%- 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 %}
+ {%- endfor %}
+ {%- endfor %}
+
+{%- endblock content %}
diff --git a/templates/categories/single.html b/templates/categories/single.html
index 641add7..0fe639d 100644
--- a/templates/categories/single.html
+++ b/templates/categories/single.html
@@ -1,13 +1,13 @@
{% extends "base.html" %}
-{% block content %}
-
-
{{ term.name }}
- {% for year, posts in term.pages | group_by(attribute="year") %}
-
{{ year }}
- {% for page in posts %}
+{%- 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 %}
+ {%- endfor %}
+ {%- endfor %}
+
+{%- endblock content %}
--
cgit v1.3.1