Rename layouts directory to templates

This commit is contained in:
Adnan Maolood 2021-03-20 02:18:15 -04:00
parent ce4b4406c7
commit e09cf02997
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*
| content/
: Site source
| layouts/
| templates/
: Site templates
| public/
: Site destination

View file

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