summaryrefslogtreecommitdiffhomepage
path: root/output
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2017-03-28 01:18:15 +0200
committerBjørn Erik Pedersen <[email protected]>2017-03-28 01:18:15 +0200
commitaf55ec76618091677385c7fdc66deece1eae4375 (patch)
treeb81e95fc43f90c7eae36fd53ac033cb9b11a6bde /output
parentf2fbf0b2ea12f966be4dda6d9f54c67ee1b490bb (diff)
downloadhugo-af55ec76618091677385c7fdc66deece1eae4375.tar.gz
hugo-af55ec76618091677385c7fdc66deece1eae4375.zip
hugolib, output: Gofmt
Diffstat (limited to 'output')
-rw-r--r--output/layout_base.go8
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: