Rename layouts directory to templates

This commit is contained in:
adnano 2021-03-20 02:18:15 -04:00
parent c7adb5fef1
commit eee2bca75c
3 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ A kiln site is structured in the following way:
:[ *Description* :[ *Description*
| content/ | content/
: Site source : Site source
| layouts/ | templates/
: Site templates : Site templates
| public/ | public/
: Site destination : Site destination

View file

@ -21,7 +21,7 @@ func run() error {
if err != nil { if err != nil {
return err return err
} }
if err := cfg.LoadTemplates("layouts"); err != nil { if err := cfg.LoadTemplates("templates"); err != nil {
return err return err
} }