From ad30b38759dc222a7137598559998acbd0c06740 Mon Sep 17 00:00:00 2001 From: grm Date: Thu, 17 Sep 2026 22:54:19 +0300 Subject: 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 Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'AGENTS.md') 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/)`, same-origin so no CORS) and put first in the stack, -- cgit v1.2.3