diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-05-02 01:33:25 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-05-02 01:33:25 -0600 |
commit | ec2aa74d36670d74c153aa0022ab22e79502a061 (patch) | |
tree | b6e6eda5f8ae90f23e371d8e8a097e4c7efaab96 /plt/blog/page_list.html | |
parent | 81d0d609e47d5cdfab3d5db2eff6ec91b5d2773b (diff) |
update to new version of pyssg
Diffstat (limited to 'plt/blog/page_list.html')
-rw-r--r-- | plt/blog/page_list.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plt/blog/page_list.html b/plt/blog/page_list.html index b818884..33201f8 100644 --- a/plt/blog/page_list.html +++ b/plt/blog/page_list.html @@ -3,13 +3,13 @@ <ul class="page-list"> {%for p in pages%} {%if loop.previtem%} - {%if loop.previtem.cdate_list_sep != p.cdate_list_sep%} - <h3>{{p.cdate_list_sep}}</h3> + {%if loop.previtem.cdate('list_sep_date') != p.cdate('list_sep_date')%} + <h3>{{p.cdate('list_sep_date')}}</h3> {%endif%} {%else%} - <h3>{{p.cdate_list_sep}}</h3> + <h3>{{p.cdate('list_sep_date')}}</h3> {%endif%} - <li>{{p.cdate_list}} - <a href="{{p.url}}">{{p.title}}</a></li> + <li>{{p.cdate('list_date')}} - <a href="{{p.url}}">{{p.title}}</a></li> {%endfor%} </ul> {%endmacro%} |