diff options
Diffstat (limited to 'src/pyssg/plt/index.html')
-rw-r--r-- | src/pyssg/plt/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pyssg/plt/index.html b/src/pyssg/plt/index.html index 7c034bb..23d890a 100644 --- a/src/pyssg/plt/index.html +++ b/src/pyssg/plt/index.html @@ -19,13 +19,13 @@ <ul> {%for p in all_pages%} {%if loop.previtem%} - {%if loop.previtem.cdate('list_sep_date') != p.cdate('list_sep_date')%} - <h3>{{p.cdate('list_sep_date')}}</h3> + {%if loop.previtem.date(loop.previtem.cts, 'list_sep_date') != p.date(p.cts, 'list_sep_date')%} + <h3>{{p.date(p.cts, 'list_sep_date')}}</h3> {%endif%} {%else%} - <h3>{{p.cdate('list_sep_date')}}</h3> + <h3>{{p.date(p.cts, 'list_sep_date')}}</h3> {%endif%} - <li>{{p.cdate('list_date')}} - <a href="{{p.url}}">{{p.title}}</a></li> + <li>{{p.date(p.cts, 'list_date')}} - <a href="{{p.url}}">{{p.title}}</a></li> {%endfor%} </ul> </body> |