diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-08 20:33:36 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-08 20:33:36 -0400 |
| commit | a45ec48ef2a48c75d7c20d9c2d20a34de2fe2ba3 (patch) | |
| tree | 8052b02533cb5450226546ff63cfc339c19f8d6d /config.json | |
| parent | 0b0f971871773b77adc719ca4f0de52f0394e68f (diff) | |
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.
Diffstat (limited to 'config.json')
| -rw-r--r-- | config.json | 19 |
1 files changed, 19 insertions, 0 deletions
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" +} |
