diff options
author | Volpeon <git@volpeon.ink> | 2020-12-31 08:39:38 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2020-12-31 08:39:38 +0100 |
commit | 08565c9e420a05c770a01ea555d459b6efaf264c (patch) | |
tree | a3f0fce1347b1e1cea91f62a5dea86cb0c560015 | |
parent | Don't include page's own metadata in added metadata (diff) | |
download | volpeon.ink-08565c9e420a05c770a01ea555d459b6efaf264c.tar.gz volpeon.ink-08565c9e420a05c770a01ea555d459b6efaf264c.tar.bz2 volpeon.ink-08565c9e420a05c770a01ea555d459b6efaf264c.zip |
Simplified category list
-rw-r--r-- | templates/partials/categoriesByCount.html | 2 | ||||
-rw-r--r-- | templates/partials/categoriesById.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/partials/categoriesByCount.html b/templates/partials/categoriesByCount.html index 871e3db..9388cf9 100644 --- a/templates/partials/categoriesByCount.html +++ b/templates/partials/categoriesByCount.html | |||
@@ -1,7 +1,7 @@ | |||
1 | $if(categories.by_count)$ | 1 | $if(categories.by_count)$ |
2 | <ul class="c-hlist"> | 2 | <ul class="c-hlist"> |
3 | $for(categories.by_count)$ | 3 | $for(categories.by_count)$ |
4 | <li class="c-hlist__item"><strong>$it.key/uppercase$</strong>: $it.value.name$ ($it.value.count$)</li> | 4 | <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li> |
5 | $endfor$ | 5 | $endfor$ |
6 | </ul> | 6 | </ul> |
7 | $endif$ | 7 | $endif$ |
diff --git a/templates/partials/categoriesById.html b/templates/partials/categoriesById.html index 1f4f433..fc11cc2 100644 --- a/templates/partials/categoriesById.html +++ b/templates/partials/categoriesById.html | |||
@@ -1,7 +1,7 @@ | |||
1 | $if(categories.by_id)$ | 1 | $if(categories.by_id)$ |
2 | <ul class="c-hlist"> | 2 | <ul class="c-hlist"> |
3 | $for(categories.by_id)$ | 3 | $for(categories.by_id)$ |
4 | <li class="c-hlist__item"><strong>$it.key/uppercase$</strong>: $it.value.name$ ($it.value.count$)</li> | 4 | <li class="c-hlist__item"><strong>$it.key/uppercase$</strong> $it.value.name$</li> |
5 | $endfor$ | 5 | $endfor$ |
6 | </ul> | 6 | </ul> |
7 | $endif$ | 7 | $endif$ |