diff options
author | Volpeon <git@volpeon.ink> | 2020-12-28 18:29:55 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-28 18:29:55 +0100 |
commit | 2a9ce387a57100306149ae1998b1c9b0e6871678 (patch) | |
tree | 97c6452e304d7c915a0570a6d95f819044945a56 /templates | |
parent | Improved CSS vars and scopes (diff) | |
download | volpeon.ink-2a9ce387a57100306149ae1998b1c9b0e6871678.tar.gz volpeon.ink-2a9ce387a57100306149ae1998b1c9b0e6871678.tar.bz2 volpeon.ink-2a9ce387a57100306149ae1998b1c9b0e6871678.zip |
Export pages grouped by year as array instead of object
Diffstat (limited to 'templates')
-rw-r--r-- | templates/pagelistByYear.html | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/templates/pagelistByYear.html b/templates/pagelistByYear.html index 758d45b..972bacc 100644 --- a/templates/pagelistByYear.html +++ b/templates/pagelistByYear.html | |||
@@ -1,12 +1,11 @@ | |||
1 | $for(pages)$ | 1 | $for(pages)$ |
2 | $for(it.by_year/pairs)$ | 2 | $for(it.by_year)$ |
3 | <h2>$it.key$</h2> | 3 | <ul class="s-refs"> |
4 | <ul class="s-refs"> | 4 | $for(it.value)$ |
5 | $for(it.value)$ | 5 | <li> |
6 | <li> | 6 | <a href="$it.url_rel$">$it.date$ - $it.title$</a> |
7 | <a href="$it.url_rel$">$it.date$ - $it.title$</a> | 7 | </li> |
8 | </li> | ||
9 | $endfor$ | ||
10 | </ul> | ||
11 | $endfor$ | 8 | $endfor$ |
9 | </ul> | ||
10 | $endfor$ | ||
12 | $endfor$ | 11 | $endfor$ |