From a45ec48ef2a48c75d7c20d9c2d20a34de2fe2ba3 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Wed, 8 Apr 2026 20:33:36 -0400 Subject: feat: JSON Configuration File Added support for a JSON configuration file to configure ceterin aspects of the website without having to modify the Go code. --- config.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 config.json (limited to 'config.json') diff --git a/config.json b/config.json new file mode 100644 index 0000000..fe38b72 --- /dev/null +++ b/config.json @@ -0,0 +1,19 @@ +{ + "port" : "8000", + "allowed" : [ + "static/rss.xml", + "static/card", + "static/css/main.css", + "static/logos/FirstInitialLogo.svg", + "static/logos/FullNameLogo.svg", + "static/logos/favicon.png", + "static/logos/favicon.svg", + "static/logos/favicon16.png", + "static/logos/favicon32.png", + "static/robots.txt", + "static/home.md" + ], + "HomeHtml": "static/home.md", + "MainTemplate" : "templates/template.html", + "ErrorTemplate" : "templates/error.html" +} -- cgit v1.2.3