summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-17 12:45:21 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-17 12:45:21 +0530
commitd083d5d72e4bf496b8152d14986818a5b63fe301 (patch)
treeae5dbe4a26ca13a66e02f1c67229548913433c27 /config
parentb833d2f73d5f4e56d7e082495c44d394d2361cbd (diff)
downloadlegit-d083d5d72e4bf496b8152d14986818a5b63fe301.tar.gz
legit-d083d5d72e4bf496b8152d14986818a5b63fe301.tar.bz2
legit-d083d5d72e4bf496b8152d14986818a5b63fe301.zip
routes: serve static content from /static
Diffstat (limited to 'config')
-rw-r--r--config/config.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/config/config.go b/config/config.go
index 278e17e..4b89dc1 100644
--- a/config/config.go
+++ b/config/config.go
@@ -13,9 +13,10 @@ type Config struct {
Readme []string `yaml:"readme"`
MainBranch []string `yaml:"mainBranch"`
} `yaml:"repo"`
- Template struct {
- Dir string `yaml:"dir"`
- } `yaml:"template"`
+ Dirs struct {
+ Templates string `yaml:"templates"`
+ Static string `yaml:"static"`
+ } `yaml:"dirs"`
Meta struct {
Title string `yaml:"title"`
Description string `yaml:"description"`