aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2026-09-17 22:54:19 +0300
committergrm <grm@eyesin.space>2026-09-17 22:54:19 +0300
commitad30b38759dc222a7137598559998acbd0c06740 (patch)
treeee6f00b03a32420dd70211ade20684697b325086 /AGENTS.md
parent9d3ab1b781a712b73311d2f2b0b822ae02de99ff (diff)
downloadblogspace-ad30b38759dc222a7137598559998acbd0c06740.tar.gz
blogspace-ad30b38759dc222a7137598559998acbd0c06740.tar.bz2
blogspace-ad30b38759dc222a7137598559998acbd0c06740.zip
Add Fira Code as a built-in font choice
The variable face (v6.2, OFL, licence alongside) is bundled in static/ and declared as @font-face whenever the text or heading font is "fira"; the stack falls back through Fira Mono, Menlo and Consolas to Courier. 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.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 8459d6d..5ac922d 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -194,6 +194,9 @@ internal/web/ server.go (host router, middleware, render helpers)
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).
+ `Font`/`HeadingFont` `fira` is Fira Code, the one built-in choice that is a
+ web font: `static/FiraCode-VF.woff2` (the variable face, OFL — licence in
+ `static/FiraCode-LICENSE.txt`), declared as `@font-face` when `UsesFira`.
**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,