diff options
Diffstat (limited to 'templates/pagelistByYear.html')
-rw-r--r-- | templates/pagelistByYear.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/pagelistByYear.html b/templates/pagelistByYear.html new file mode 100644 index 0000000..8270530 --- /dev/null +++ b/templates/pagelistByYear.html | |||
@@ -0,0 +1,12 @@ | |||
1 | $for(pages)$ | ||
2 | $for(it.by_year/pairs)$ | ||
3 | <h2>$it.key$</h2> | ||
4 | <ul class="c-refs"> | ||
5 | $for(it.value)$ | ||
6 | <li class="c-refs__item"> | ||
7 | <a href="$it.url_rel$">$it.date$ - $it.title$</a> | ||
8 | </li> | ||
9 | $endfor$ | ||
10 | </ul> | ||
11 | $endfor$ | ||
12 | $endfor$ | ||