rebuilt template lookup to use a configured template directory before the builtins
This commit is contained in:
@@ -21,6 +21,9 @@ type AmConfig struct {
|
||||
Site struct {
|
||||
Title string `yaml:"title"`
|
||||
} `yaml:"site"`
|
||||
Rendering struct {
|
||||
TemplateDir string `yaml:"templatedir"`
|
||||
} `yaml:"rendering"`
|
||||
}
|
||||
|
||||
//go:embed default.yaml
|
||||
|
||||
Reference in New Issue
Block a user