all repos — elgit @ d083d5d72e4bf496b8152d14986818a5b63fe301

fork of legit: web frontend for git, written in go

routes: serve static content from /static

commit

d083d5d72e4bf496b8152d14986818a5b63fe301

parent

b833d2f73d5f4e56d7e082495c44d394d2361cbd

1 file changed, 4 insertions(+), 3 deletions(-)

changed files
M config/config.goconfig/config.go
@@ -13,9 +13,10 @@ ScanPath string `yaml:"scanPath"`
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"`