diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2021-06-05 19:19:19 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2021-06-05 19:19:19 -0600 |
commit | f2b417553920d1d4b195e5a9d78e3fe019b2c163 (patch) | |
tree | 8030a809523c3f9a3613a906bff49d85a36253f3 /art/plt/page_list.html | |
parent | 8aed7291d95070d8dbb8ce322de4108918c0f8f1 (diff) |
modify relative links, add base for art page
Diffstat (limited to 'art/plt/page_list.html')
-rw-r--r-- | art/plt/page_list.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/art/plt/page_list.html b/art/plt/page_list.html new file mode 100644 index 0000000..16dc4d5 --- /dev/null +++ b/art/plt/page_list.html @@ -0,0 +1,15 @@ +{%macro print(pages)%} + <h2>Articles</h2> + <ul> + {%for p in pages%} + {%if loop.previtem%} + {%if loop.previtem.cdate_list_sep !=p.cdate_list_sep%} + <h3>{{p.cdate_list_sep}}</h3> + {%endif%} + {%else%} + <h3>{{p.cdate_list_sep}}</h3> + {%endif%} + <li>{{p.cdate_list}} - <a href="{{p.url}}">{{p.title}}</a></li> + {%endfor%} + </ul> +{%endmacro%} |