mirror of
https://github.com/adulau/foo.be.git
synced 2024-11-21 17:27:05 +00:00
chg: [articles] view to list all the indexed
page
This commit is contained in:
parent
24eb0d2164
commit
ca8910ac7f
3 changed files with 7 additions and 2 deletions
|
@ -1,2 +1,6 @@
|
|||
|
||||
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)
|
||||
|
|
|
@ -31,5 +31,6 @@ Pinboard_set:
|
|||
list_tag: 'ol'
|
||||
list_class: 'pinboard_list'
|
||||
a_target: '_blank'
|
||||
|
||||
plugins:
|
||||
- jekyll-last-modified-at
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ permalink: /articles/
|
|||
<ul class="c-archives__list">
|
||||
{% for page in site.pages %}
|
||||
{% 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 %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue