blog.minskio.co.uk

Content and theme behind minskio.co.uk
Log | Files | Refs

commit 50155a5a1f4ea085b61a13fe974607130b5eddc2
parent b36391fe423a5f601aea0de02457575fde306e1e
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Sun,  7 Apr 2024 16:56:56 +0100

Dim counts on tag page

Diffstat:
Mthemes/Brine/layouts/_default/baseof.html | 2+-
Mthemes/Brine/layouts/_default/list.html | 4++--
Mthemes/Brine/layouts/_default/terms.html | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/themes/Brine/layouts/_default/baseof.html b/themes/Brine/layouts/_default/baseof.html @@ -22,7 +22,7 @@ pre>code{display:block;padding:20px;white-space:pre-wrap;font-size:75%;max-width:80ch} a,h1,li,p{max-width:70ch} blockquote{color:#333;border-left:7px solid #fc9;padding:0 14px;margin:0} - h2>span,summary>span{color:#999} + h2>span,summary>span,li>span{color:#999} td,th{text-align:left;padding-right:10px} p.pagination>a{padding:5px} @media(min-width:1100px){ diff --git a/themes/Brine/layouts/_default/list.html b/themes/Brine/layouts/_default/list.html @@ -2,11 +2,11 @@ <ul> {{ if .IsHome }} {{ $paginator := .Paginate (where .Site.RegularPages.ByDate.Reverse "Section" "posts") }}{{ range $paginator.Pages }} - <li><h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2><span>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</span></li>{{ end }} + <li><h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</li>{{ end }} </ul>{{ partial "pagination.html" $ }} {{ else }} {{ range .Pages.ByDate.Reverse }} - <li><h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2><span>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</span></li> + <li><h2><a href="{{ .Permalink }}">{{ .Title }}</a></h2>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</li> {{ end }} </ul> {{ end }} diff --git a/themes/Brine/layouts/_default/terms.html b/themes/Brine/layouts/_default/terms.html @@ -1,4 +1,4 @@ {{ define "main" }} <h1>{{ .Title }}</h1> <ul>{{ range .Data.Terms.Alphabetical }} - <li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> {{ .Count }}</li>{{ end }} + <li><a href="{{ .Page.Permalink }}">{{ .Page.Title }}</a> <span>{{ .Count }}</span></li>{{ end }} </ul>{{ end }}