From 2d74d8afc321cf84fd5710314bfa6a9ff3c10a32 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Mon, 10 Mar 2025 10:56:47 +0100 Subject: refactor(pages): use html instead of json to render legal --- main.go | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'main.go') 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 -- cgit v1.2.3