From b233445a73168994087356d45b5dc7dd6a07aa8e Mon Sep 17 00:00:00 2001 From: grm Date: Thu, 17 Sep 2026 21:37:46 +0300 Subject: Add a rule under page and post titles, and tags shown with a # in front MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two Design tab options in the Posts section. The title rule reuses the header rule's kinds (line, dots, stripes): a body class blog.css draws from — width and style only, so the theme CSS's link colour is not reset — ending at a floated thumbnail instead of running under it. The tag hash is applied everywhere tags are listed: under posts, in both tag modules and in the tag page's title. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A --- internal/web/templates/partials/postlist.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'internal/web/templates/partials/postlist.html') diff --git a/internal/web/templates/partials/postlist.html b/internal/web/templates/partials/postlist.html index b1e43c6..91e248c 100644 --- a/internal/web/templates/partials/postlist.html +++ b/internal/web/templates/partials/postlist.html @@ -7,7 +7,7 @@ {{if .Image}}{{end}}

{{.Title}}

{{if $.Data.theme.ShowDates}}{{end}} - {{template "posttags" .Tags}} + {{template "posttags" (dict "tags" .Tags "hash" $.Data.theme.TagHash)}}
{{html .Excerpt}}
{{if .HasMore}}

{{t "Read more"}} →

{{end}} @@ -21,4 +21,5 @@ {{end}} {{end}} -{{define "posttags"}}{{if .}}{{end}}{{end}} +{{/* .tags and .hash (the theme's TagHash: list them as #name) */}} +{{define "posttags"}}{{if .tags}}{{end}}{{end}} -- cgit v1.2.3