summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default
diff options
context:
space:
mode:
authorbreadcat2024-04-07 16:56:56 +0100
committerbreadcat2024-04-07 16:56:56 +0100
commit50155a5a1f4ea085b61a13fe974607130b5eddc2 (patch)
tree6bced83109d739fe1fec806010ade927970a479f /themes/Brine/layouts/_default
parentb36391fe423a5f601aea0de02457575fde306e1e (diff)
downloadblog.minskio.co.uk-50155a5a1f4ea085b61a13fe974607130b5eddc2.tar.gz
blog.minskio.co.uk-50155a5a1f4ea085b61a13fe974607130b5eddc2.tar.bz2
blog.minskio.co.uk-50155a5a1f4ea085b61a13fe974607130b5eddc2.zip
Dim counts on tag page
Diffstat (limited to 'themes/Brine/layouts/_default')
-rw-r--r--themes/Brine/layouts/_default/baseof.html2
-rw-r--r--themes/Brine/layouts/_default/list.html4
-rw-r--r--themes/Brine/layouts/_default/terms.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/themes/Brine/layouts/_default/baseof.html b/themes/Brine/layouts/_default/baseof.html
index 7079a50..3e3ea3d 100644
--- 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
index 89cb5db..b6d49e5 100644
--- 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
index a6a4d96..7fbc8c9 100644
--- 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 }}