aboutsummaryrefslogtreecommitdiff
path: root/templates/categories
diff options
context:
space:
mode:
Diffstat (limited to 'templates/categories')
-rw-r--r--templates/categories/list.html2
-rw-r--r--templates/categories/single.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/categories/list.html b/templates/categories/list.html
index b01b37f..4566a75 100644
--- a/templates/categories/list.html
+++ b/templates/categories/list.html
@@ -24,7 +24,7 @@
<p>{% for term in terms %} [<a href="#{{ term.name }}">{{ term.name }}</a>]<sup>{{ term.pages | length }}</sup> {% endfor %}</p>
</div>
{%- for term in terms %}
- <h2 id="{{ term.name }}"><a href="{{ term.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ term.name }}</a></h2>
+ <h2 class="tpad" id="{{ term.name }}"><a href="{{ term.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ term.name }}</a></h2>
{%- for page in term.pages %}
<p><a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format="%F") }}</time></p>
{%- endfor %}
diff --git a/templates/categories/single.html b/templates/categories/single.html
index ba86397..08b4327 100644
--- a/templates/categories/single.html
+++ b/templates/categories/single.html
@@ -21,7 +21,7 @@
<div>
<h2>{{ term.name }}</h2>
{%- for year, posts in term.pages | group_by(attribute="year") %}
- <h3>{{ year }}</h3>
+ <h3 class="tpad">{{ year }}</h3>
{%- for page in posts %}
<p><a href="{{ page.permalink | safe }}{%- if uglyurls %}index.html{%- endif %}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format="%F") }}</time></p>
{%- endfor %}