diff options
| author | grm <grm@eyesin.space> | 2026-09-17 21:37:46 +0300 |
|---|---|---|
| committer | grm <grm@eyesin.space> | 2026-09-17 21:37:46 +0300 |
| commit | b233445a73168994087356d45b5dc7dd6a07aa8e (patch) | |
| tree | d08b554607c5ab2e707dd607ab5bfa88c62e5274 /AGENTS.md | |
| parent | e96bbec551c0388e972894b349413fa6ef607352 (diff) | |
| download | blogspace-b233445a73168994087356d45b5dc7dd6a07aa8e.tar.gz blogspace-b233445a73168994087356d45b5dc7dd6a07aa8e.tar.bz2 blogspace-b233445a73168994087356d45b5dc7dd6a07aa8e.zip | |
Add a rule under page and post titles, and tags shown with a # in front
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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-<kind>`) 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/<id>)`, same-origin so no CORS) and put first in the stack, |
