summaryrefslogtreecommitdiff
path: root/art/plt/page_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'art/plt/page_list.html')
-rw-r--r--art/plt/page_list.html15
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%}