diff options
Diffstat (limited to 'output')
-rw-r--r-- | output/layout_base.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/output/layout_base.go b/output/layout_base.go index 47d0c3d48..2bb89c20d 100644 --- a/output/layout_base.go +++ b/output/layout_base.go @@ -137,10 +137,10 @@ func CreateTemplateNames(d TemplateLookupDescriptor) (TemplateNames, error) { // in the theme's layouts folder. // Also note that the <current-path> may be both the project's layout folder and the theme's. pairsToCheck := [][]string{ - []string{baseTemplatedDir, currBaseFilename}, - []string{baseTemplatedDir, baseFilename}, - []string{"_default", currBaseFilename}, - []string{"_default", baseFilename}, + {baseTemplatedDir, currBaseFilename}, + {baseTemplatedDir, baseFilename}, + {"_default", currBaseFilename}, + {"_default", baseFilename}, } Loop: |