aboutsummaryrefslogtreecommitdiff
path: root/templates/tags
diff options
context:
space:
mode:
authorJieiku2022-05-31 01:45:54 -0700
committerJieiku2022-05-31 01:45:54 -0700
commitd4a052e86f33ced79b9f4d09aeee0b1c43ef1f23 (patch)
tree68b40eed2c6047850d25f5d812d596cb74a2cd96 /templates/tags
parent6719a3b149ec630aacec164df325de1b61221761 (diff)
downloadabridge-d4a052e86f33ced79b9f4d09aeee0b1c43ef1f23.tar.gz
abridge-d4a052e86f33ced79b9f4d09aeee0b1c43ef1f23.tar.bz2
abridge-d4a052e86f33ced79b9f4d09aeee0b1c43ef1f23.zip
Improve imghover shortcode, examples, page scores
Diffstat (limited to 'templates/tags')
-rw-r--r--templates/tags/list.html4
-rw-r--r--templates/tags/single.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/tags/list.html b/templates/tags/list.html
index e03b6df..3559ada 100644
--- a/templates/tags/list.html
+++ b/templates/tags/list.html
@@ -19,12 +19,12 @@
<div>
<center>
<h1>{{ terms | length }} Tags</h1>
- <p>{%- for term in terms %}#<a href="#{{ term.name }}">{{ term.name }}</a> &nbsp; {%- endfor %}</p>
+ <p>{% for term in terms %} #<a href="#{{ term.name }}">{{ term.name }}</a> {% 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>
+ <p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format="%F") }}</time></p>
{%- endfor %}
{%- endfor %}
</div>
diff --git a/templates/tags/single.html b/templates/tags/single.html
index b4428ff..c8bc0a3 100644
--- a/templates/tags/single.html
+++ b/templates/tags/single.html
@@ -21,7 +21,7 @@
{%- 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>
+ <p><a href="{{ page.permalink | safe }}">{{ page.title }}</a> - <time datetime="{{ page.date }}">{{ page.date | date(format="%F") }}</time></p>
{%- endfor %}
{%- endfor %}
</div>