summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.yaml5
-rw-r--r--config/config.go3
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"`