diff options
| author | William Hergès <william@herges.fr> | 2025-09-06 22:40:59 +0200 |
|---|---|---|
| committer | William Hergès <william@herges.fr> | 2025-09-06 22:40:59 +0200 |
| commit | 8ae1115ba712209cb6b974e81a3a4c4745e36c94 (patch) | |
| tree | 6bb54c05e1f1bcd3f39793d13867635f20da0c2a /data.go | |
| parent | 6f6f10cedcbc46ef125bd067bc8d084d29c76afe (diff) | |
feat(config): customize font file path, extension and name
Diffstat (limited to 'data.go')
| -rw-r--r-- | data.go | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3,13 +3,14 @@ package main import ( "encoding/json" "errors" - "github.com/BurntSushi/toml" - "github.com/anhgelus/golatt" "html/template" "os" "regexp" "strconv" "strings" + + "github.com/BurntSushi/toml" + "github.com/anhgelus/golatt" ) var ( @@ -28,6 +29,7 @@ type Config struct { Description string `json:"description" toml:"description"` folder string Legal string `json:"legal" toml:"legal"` + Font string `json:"font" toml:"font"` RelMeLinks []string `json:"rel_me_links" toml:"rel_me_links"` CustomPages []string `json:"custom_pages" toml:"custom_pages"` Person *Person `json:"person" toml:"person"` |
