the home site for me: also iteration 3 or 4 of my site

feat: add date display and archival section

Changed files
+11 -1
templates
+11 -1
templates/blog.html
···
<!-- If you are using pagination, section.pages will be empty.
You need to use the paginator object -->
{% for page in section.pages %}
-
<li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
{% endblock content %}
···
<!-- If you are using pagination, section.pages will be empty.
You need to use the paginator object -->
{% for page in section.pages %}
+
{% if "archival" not in page.taxonomies.tags %}
+
<li>{{ page.date }} &mdash; <a href="{{ page.permalink | safe }}">{{ page.title }}</a></li>
+
{% endif %}
+
{% endfor %}
+
</ul>
+
+
<ul>
+
{% for page in section.pages %}
+
{% if "archival" in page.taxonomies.tags %}
+
<li>{{ page.date }} &mdash; <a href="{{ page.permalink | safe }}">{{ page.title }}</a> (archival)</li>
+
{% endif %}
{% endfor %}
</ul>
{% endblock content %}