summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.yaml5
-rw-r--r--config/config.go7
2 files changed, 7 insertions, 5 deletions
diff --git a/config.yaml b/config.yaml
index 59e903a..5dbe023 100644
--- a/config.yaml
+++ b/config.yaml
@@ -8,8 +8,9 @@ repo:
mainBranch:
- master
- main
-template:
- dir: ./templates
+dirs:
+ templates: ./templates
+ static: ./static
meta:
title: git good
description: i think it's a skill issue
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"`