Updated archive page formatting

This commit is contained in:
Jeff MacKinnon 2025-06-12 10:46:01 -03:00
parent 68edcb5f40
commit e7ac97a9ef
2 changed files with 7 additions and 8 deletions

View file

@ -5,10 +5,10 @@
{% block content %} {% block content %}
<h2>Archives for {{ SITENAME }}</h2> <h2>Archives for {{ SITENAME }}</h2>
<dl> <ul>
{% for article in dates %} {% for article in dates %}
<dt>{{ article.locale_date }}</dt> <!--<dt>{{ article.locale_date }}</dt>-->
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd> <li>{{ article.locale_date }} - <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %} {% endfor %}
</dl> </ul>
{% endblock %} {% endblock %}

View file

@ -5,10 +5,9 @@
{% block content %} {% block content %}
<h2>Archives for {{ period | reverse | join(' ') }}</h2> <h2>Archives for {{ period | reverse | join(' ') }}</h2>
<dl> <ul>
{% for article in dates %} {% for article in dates %}
<dt>{{ article.locale_date }}</dt> <li>{{ article.locale_date }} - <a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
<dd><a href="{{ SITEURL }}/{{ article.url }}">{{ article.title }}</a></dd>
{% endfor %} {% endfor %}
</dl> </ul>
{% endblock %} {% endblock %}