diff options
author | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-12 20:53:58 +0530 |
---|---|---|
committer | Anirudh Oppiliappan <x@icyphox.sh> | 2022-12-12 20:53:58 +0530 |
commit | 82b8afe19b77fe02e1a29a5b5e20882d8e5c3fc5 (patch) | |
tree | 2173a518664b81e0134853c4c6dee09973377a87 /config | |
parent | 7d99afc5cd3ddfc7a875754f4593812b8c2664c8 (diff) | |
download | legit-82b8afe19b77fe02e1a29a5b5e20882d8e5c3fc5.tar.gz legit-82b8afe19b77fe02e1a29a5b5e20882d8e5c3fc5.tar.bz2 legit-82b8afe19b77fe02e1a29a5b5e20882d8e5c3fc5.zip |
routes: render readme
Diffstat (limited to '')
-rw-r--r-- | config.yaml | 5 | ||||
-rw-r--r-- | config/config.go | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/config.yaml b/config.yaml index fad606a..25fc992 100644 --- a/config.yaml +++ b/config.yaml @@ -1,5 +1,10 @@ git: scanPath: /home/icy/code/tmp + readme: + - readme + - README + - readme.md + - README.md template: dir: ./templates meta: diff --git a/config/config.go b/config/config.go index 71bc8dc..65d1a71 100644 --- a/config/config.go +++ b/config/config.go @@ -9,7 +9,8 @@ import ( type Config struct { Git struct { - ScanPath string `yaml:"scanPath"` + ScanPath string `yaml:"scanPath"` + Readme []string `yaml:"readme"` } `yaml:"git"` Template struct { Dir string `yaml:"dir"` |