chg: [articles] view to list all the indexed page

This commit is contained in:
Alexandre Dulaunoy 2022-12-31 11:40:45 +01:00
parent 24eb0d2164
commit ca8910ac7f
Signed by: adulau
GPG key ID: 09E2CD4944E6CBCD
3 changed files with 7 additions and 2 deletions

View file

@ -1,2 +1,6 @@
my website based on the [material-jekyll-theme](http://alexcarpenter.me/material-jekyll-theme) my website based on the [material-jekyll-theme](http://alexcarpenter.me/material-jekyll-theme)
# Requirements
- [jekyll-last-modified-at](https://github.com/gjtorikian/jekyll-last-modified-at)

View file

@ -31,5 +31,6 @@ Pinboard_set:
list_tag: 'ol' list_tag: 'ol'
list_class: 'pinboard_list' list_class: 'pinboard_list'
a_target: '_blank' a_target: '_blank'
plugins:
- jekyll-last-modified-at

View file

@ -7,7 +7,7 @@ permalink: /articles/
<ul class="c-archives__list"> <ul class="c-archives__list">
{% for page in site.pages %} {% for page in site.pages %}
{% if page.indexed == true %} {% if page.indexed == true %}
<li class="c-archives__item"> <a href="{{ page.url }}">{{ page.title }}</a></li> <li class="c-archives__item"> <a href="{{ page.url }}">{{ page.title }}</a> {{ page.last_modified_at | date: "%b %-d, %Y" }} </li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </ul>