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

Configure Feed

Select the types of activity you want to include in your feed.

feat: add date display and archival section

+11 -1
+11 -1
templates/blog.html
··· 4 4 <!-- If you are using pagination, section.pages will be empty. 5 5 You need to use the paginator object --> 6 6 {% for page in section.pages %} 7 - <li><a href="{{ page.permalink | safe }}">{{ page.title }}</a></li> 7 + {% if "archival" not in page.taxonomies.tags %} 8 + <li>{{ page.date }} &mdash; <a href="{{ page.permalink | safe }}">{{ page.title }}</a></li> 9 + {% endif %} 10 + {% endfor %} 11 + </ul> 12 + 13 + <ul> 14 + {% for page in section.pages %} 15 + {% if "archival" in page.taxonomies.tags %} 16 + <li>{{ page.date }} &mdash; <a href="{{ page.permalink | safe }}">{{ page.title }}</a> (archival)</li> 17 + {% endif %} 8 18 {% endfor %} 9 19 </ul> 10 20 {% endblock content %}