From 8ae1115ba712209cb6b974e81a3a4c4745e36c94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Sat, 6 Sep 2025 22:40:59 +0200 Subject: feat(config): customize font file path, extension and name --- data.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'data.go') diff --git a/data.go b/data.go index 7782b7b..fccaec3 100644 --- a/data.go +++ b/data.go @@ -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"` -- cgit v1.2.3