diff options
| author | Volpeon <git@volpeon.ink> | 2020-12-30 11:30:59 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2020-12-30 11:30:59 +0100 |
| commit | d90d07fa3938c944fe8897e7ce1d995bd660573d (patch) | |
| tree | a1c6a331a00ab9fb40104a0f7d828cd66ac6c2e2 /templates/partials/categoriesById.html | |
| parent | Fixed finding subpages in some cases, use multiple sorted arrays for categories (diff) | |
| download | volpeon.ink-d90d07fa3938c944fe8897e7ce1d995bd660573d.tar.gz volpeon.ink-d90d07fa3938c944fe8897e7ce1d995bd660573d.tar.bz2 volpeon.ink-d90d07fa3938c944fe8897e7ce1d995bd660573d.zip | |
Better templates structure, better script config
Diffstat (limited to 'templates/partials/categoriesById.html')
| -rw-r--r-- | templates/partials/categoriesById.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/partials/categoriesById.html b/templates/partials/categoriesById.html new file mode 100644 index 0000000..1f4f433 --- /dev/null +++ b/templates/partials/categoriesById.html | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | $if(categories.by_id)$ | ||
| 2 | <ul class="c-hlist"> | ||
| 3 | $for(categories.by_id)$ | ||
| 4 | <li class="c-hlist__item"><strong>$it.key/uppercase$</strong>: $it.value.name$ ($it.value.count$)</li> | ||
| 5 | $endfor$ | ||
| 6 | </ul> | ||
| 7 | $endif$ | ||
