aboutsummaryrefslogtreecommitdiff
path: root/templates/tags
diff options
context:
space:
mode:
authorJieiku2022-05-30 22:33:42 -0700
committerJieiku2022-05-30 22:33:42 -0700
commit9c1f02f9099b0da48c0bec7f23fa8c0566a331f3 (patch)
tree477e96531357223345fef18fb96383e40ddea7c5 /templates/tags
parenta5a2e0ae482a5168781b4abf952885531bdc93cc (diff)
downloadabridge-9c1f02f9099b0da48c0bec7f23fa8c0566a331f3.tar.gz
abridge-9c1f02f9099b0da48c0bec7f23fa8c0566a331f3.tar.bz2
abridge-9c1f02f9099b0da48c0bec7f23fa8c0566a331f3.zip
Whitespace Cleanup, Fix Recent
Diffstat (limited to 'templates/tags')
-rw-r--r--templates/tags/list.html19
-rw-r--r--templates/tags/single.html13
2 files changed, 21 insertions, 11 deletions
diff --git a/templates/tags/list.html b/templates/tags/list.html
index e7a6b7d..56575df 100644
--- a/templates/tags/list.html
+++ b/templates/tags/list.html
@@ -2,10 +2,15 @@
{% block content %}
<div>
- <center>
- <h1>{{ terms | length }} Tags</h1>
- <p>{% for term in terms -%}#<a href="#{{ term.name }}">{{ term.name }}</a> &nbsp; {%- endfor %}</p>
- </center>
- {% for term in terms -%}<h2 id="{{ term.name }}">#<a href="{{ term.permalink | safe }}">{{ term.name }}</a></h2>
- {% for page in term.pages -%}<p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p>
- {% endfor -%}{% endfor -%}</div>{% endblock content %}
+ <center>
+ <h1>{{ terms | length }} Tags</h1>
+ <p>{% for term in terms -%}#<a href="#{{ term.name }}">{{ term.name }}</a> &nbsp; {%- endfor %}</p>
+ </center>
+ {% for term in terms -%}
+ <h2 id="{{ term.name }}">#<a href="{{ term.permalink | safe }}">{{ term.name }}</a></h2>
+ {% for page in term.pages -%}
+ <p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p>
+ {% endfor -%}
+ {% endfor -%}
+ </div>
+{% endblock content %}
diff --git a/templates/tags/single.html b/templates/tags/single.html
index fd1a10f..2bddb8e 100644
--- a/templates/tags/single.html
+++ b/templates/tags/single.html
@@ -2,7 +2,12 @@
{% block content %}
<div>
- <h2>{{ term.name }}</h2>
- {% for year, posts in term.pages | group_by(attribute="year") %}<h3>{{ year }}</h3>
- {% for page in term.pages %}<p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p>
- {% endfor %}{% endfor %}</div>{% endblock content %}
+ <h2>{{ term.name }}</h2>
+ {% for year, posts in term.pages | group_by(attribute="year") %}
+ <h3>{{ year }}</h3>
+ {% for page in term.pages %}
+ <p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format=config.extra.timeformat | default(value="%B %e, %Y")) }}</time></p>
+ {% endfor %}
+ {% endfor %}
+ </div>
+{% endblock content %}