diff options
| author | Volpeon <git@volpeon.ink> | 2020-12-28 21:34:30 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2020-12-28 21:34:30 +0100 |
| commit | 5ab5e6a4781c53aade17a9a98e123762691205c6 (patch) | |
| tree | c8a1eed27676e2118a8a44270a9ffa82e9e98b13 /templates/categoryRef.html | |
| parent | Export pages grouped by year as array instead of object (diff) | |
| download | volpeon.ink-5ab5e6a4781c53aade17a9a98e123762691205c6.tar.gz volpeon.ink-5ab5e6a4781c53aade17a9a98e123762691205c6.tar.bz2 volpeon.ink-5ab5e6a4781c53aade17a9a98e123762691205c6.zip | |
Handle blog entry categories
Diffstat (limited to 'templates/categoryRef.html')
| -rw-r--r-- | templates/categoryRef.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/categoryRef.html b/templates/categoryRef.html new file mode 100644 index 0000000..9a363cf --- /dev/null +++ b/templates/categoryRef.html | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | $if(categories)$ | ||
| 2 | <ul class="c-hlist"> | ||
| 3 | $for(categories)$ | ||
| 4 | <li class="c-hlist__item"><strong>$it.key/uppercase$</strong>: $it.value$</li> | ||
| 5 | $endfor$ | ||
| 6 | </ul> | ||
| 7 | $endif$ | ||
