aboutsummaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-20 06:25:55 -0800
committerFuwn <[email protected]>2026-01-20 06:25:55 -0800
commit9b0b5cd9563702263300e80d48ef3dc73f0add8e (patch)
treecdc503855c84b67fdc12d46e192d9506a8fa34a1 /internal/config
parentfix: Use generic error message for unknown error types (diff)
downloadkaze-9b0b5cd9563702263300e80d48ef3dc73f0add8e.tar.xz
kaze-9b0b5cd9563702263300e80d48ef3dc73f0add8e.zip
feat: Add custom_head option for injecting HTML into head
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index b819d8f..626873b 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -40,7 +40,8 @@ type SiteConfig struct {
Description string `yaml:"description"`
Logo string `yaml:"logo"`
Favicon string `yaml:"favicon"`
- ThemeURL string `yaml:"theme_url"` // URL to OpenCode-compatible theme JSON
+ ThemeURL string `yaml:"theme_url"` // URL to OpenCode-compatible theme JSON
+ CustomHead string `yaml:"custom_head"` // Custom HTML to inject into <head> (e.g., analytics)
}
// ServerConfig contains HTTP server settings