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 --- AGENTS.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index d4a9284..bfed5cb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -184,7 +184,15 @@ internal/web/ server.go (host router, middleware, render helpers) as tall as the brand and old browsers agree) in `currentColor`, i.e. the header text colour; hidden on phones so a long title can wrap. `NavStyle` `plain` is regular weight + underline for the menu links (blog.css makes - them bold). + them bold). `TitleRule` (`none` | `line` | `dots` | `stripes`) is the same + rule under page and post titles (`.page-title`, `.post-title`): a body + class from `Theme.TitleRuleClass` (`titles-`) that blog.css draws + (border width/style only — never the shorthand, or it would reset the + colour; stripes are an `::after` gradient in `currentColor`), coloured + by the theme CSS in the link colour; `overflow:hidden` ends it at a floated + thumbnail. `TagHash` lists tags as `#name` wherever they appear: the + `posttags` partial (takes `dict "tags" … "hash" …`), the two tag modules + and the tag page title (`tagname` template func). **Custom fonts** (`CustomFont`, `CustomHeadingFont`: font file ids or ""): a chosen file is declared as `@font-face` (`"BlogFont"` / `"BlogHeadingFont"`, `src:url(/media/)`, same-origin so no CORS) and put first in the stack, -- cgit v1.2.3