aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-03-10 10:56:47 +0100
committerAnhgelus Morhtuuzh <anhgelus@anhgelus.world>2025-03-10 10:56:47 +0100
commit2d74d8afc321cf84fd5710314bfa6a9ff3c10a32 (patch)
treeca366fc817e80a96526932131de3bc810d287cc3 /main.go
parentf98647cabbd3af21acbb801fcbd65548690bd4c7 (diff)
refactor(pages): use html instead of json to render legal
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 1 insertions, 8 deletions
diff --git a/main.go b/main.go
index 0bc9dc9..bf5905e 100644
--- a/main.go
+++ b/main.go
@@ -172,14 +172,7 @@ func generateConfigFile(isToml bool) {
{"/foo", "Blog"},
{"https://www.youtube.com/@anhgelus", "YouTube"},
},
- Legal: &Legal{
- LegalInformationLink: "/bar",
- ImagesSource: []string{
- "Profile picture: some one on website",
- "Background picture: another one on another website",
- },
- FontSource: "Name by some one on website",
- },
+ Legal: "legal.html",
CustomPages: []string{"custom.json"},
}
var b []byte