diff options
| author | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-03-10 10:56:47 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-03-10 10:56:47 +0100 |
| commit | 2d74d8afc321cf84fd5710314bfa6a9ff3c10a32 (patch) | |
| tree | ca366fc817e80a96526932131de3bc810d287cc3 /main.go | |
| parent | f98647cabbd3af21acbb801fcbd65548690bd4c7 (diff) | |
refactor(pages): use html instead of json to render legal
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -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 |
