diff options
author | breadcat | 2024-01-10 16:17:47 +0000 |
---|---|---|
committer | breadcat | 2024-01-10 16:17:47 +0000 |
commit | 0ee4bd3ded721ba2657a42468bc701e84125ddcc (patch) | |
tree | 9b4c40cf03b619af3747532b486adb94f94ec1ab /themes/Brine/layouts/_default/dreams.html | |
parent | 2399a0cd6c1a1cc0c5b112c16cd540d72497f122 (diff) | |
download | blog.minskio.co.uk-0ee4bd3ded721ba2657a42468bc701e84125ddcc.tar.gz blog.minskio.co.uk-0ee4bd3ded721ba2657a42468bc701e84125ddcc.tar.bz2 blog.minskio.co.uk-0ee4bd3ded721ba2657a42468bc701e84125ddcc.zip |
Add counts to
Diffstat (limited to 'themes/Brine/layouts/_default/dreams.html')
-rw-r--r-- | themes/Brine/layouts/_default/dreams.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/Brine/layouts/_default/dreams.html b/themes/Brine/layouts/_default/dreams.html index dc60178..7e94a84 100644 --- a/themes/Brine/layouts/_default/dreams.html +++ b/themes/Brine/layouts/_default/dreams.html @@ -1,13 +1,13 @@ {{ define "main" }} <h1>{{ .Title }}</h1> {{ .Content }} <details> - <summary>Dated</summary> + <summary>Dated <span>({{ .Site.Taxonomies.dream.dated | len}})</span></summary> <ul>{{ range sort .Site.Taxonomies.dream.dated ".Page.RelPermalink" "desc" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> </details> <details> - <summary>Archive</summary> + <summary>Archive <span>({{ .Site.Taxonomies.dream.undated | len}})</span></summary> <ul>{{ range sort .Site.Taxonomies.dream.undated ".Page.RelPermalink" "desc" }} <li><a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a></li>{{ end }} </ul> |