aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md10
1 files changed, 9 insertions, 1 deletions
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-<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,