diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-17 12:45:21 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-17 12:45:21 +0530 |
commit | d083d5d72e4bf496b8152d14986818a5b63fe301 (patch) | |
tree | ae5dbe4a26ca13a66e02f1c67229548913433c27 /config | |
parent | b833d2f73d5f4e56d7e082495c44d394d2361cbd (diff) | |
download | legit-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.go | 7 |
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"` |