summaryrefslogtreecommitdiffstats
path: root/templates/partials/categoriesByCount.html
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2020-12-30 11:30:59 +0100
committerVolpeon <git@volpeon.ink>2020-12-30 11:30:59 +0100
commitd90d07fa3938c944fe8897e7ce1d995bd660573d (patch)
treea1c6a331a00ab9fb40104a0f7d828cd66ac6c2e2 /templates/partials/categoriesByCount.html
parentFixed finding subpages in some cases, use multiple sorted arrays for categories (diff)
downloadvolpeon.ink-d90d07fa3938c944fe8897e7ce1d995bd660573d.tar.gz
volpeon.ink-d90d07fa3938c944fe8897e7ce1d995bd660573d.tar.bz2
volpeon.ink-d90d07fa3938c944fe8897e7ce1d995bd660573d.zip
Better templates structure, better script config
Diffstat (limited to 'templates/partials/categoriesByCount.html')
-rw-r--r--templates/partials/categoriesByCount.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/partials/categoriesByCount.html b/templates/partials/categoriesByCount.html
new file mode 100644
index 0000000..871e3db
--- /dev/null
+++ b/templates/partials/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$