diff options
author | Volpeon <git@volpeon.ink> | 2020-12-30 09:55:37 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-30 09:55:37 +0100 |
commit | 8132f5172d286ef73f5d0f2cfbd95da713870484 (patch) | |
tree | 0aa9ae8cee715f4d5d654e8e87fad5662a9e6ce8 /templates/categoriesByCount.html | |
parent | Revert to old category metadata collection, add support for authors (diff) | |
download | volpeon.ink-8132f5172d286ef73f5d0f2cfbd95da713870484.tar.gz volpeon.ink-8132f5172d286ef73f5d0f2cfbd95da713870484.tar.bz2 volpeon.ink-8132f5172d286ef73f5d0f2cfbd95da713870484.zip |
Fixed finding subpages in some cases, use multiple sorted arrays for categories
Diffstat (limited to 'templates/categoriesByCount.html')
-rw-r--r-- | templates/categoriesByCount.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/categoriesByCount.html b/templates/categoriesByCount.html new file mode 100644 index 0000000..871e3db --- /dev/null +++ b/templates/categoriesByCount.html | |||
@@ -0,0 +1,7 @@ | |||
1 | $if(categories.by_count)$ | ||
2 | <ul class="c-hlist"> | ||
3 | $for(categories.by_count)$ | ||
4 | <li class="c-hlist__item"><strong>$it.key/uppercase$</strong>: $it.value.name$ ($it.value.count$)</li> | ||
5 | $endfor$ | ||
6 | </ul> | ||
7 | $endif$ | ||