summaryrefslogtreecommitdiffstats
path: root/hugolib
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-01-18 17:48:19 +0000
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2019-01-20 12:42:24 +0000
commite1a66c7343db9d232749255dd9e3a58d94b86997 (patch)
treed627599de196ed8e08622226e5634cd602b08914 /hugolib
parentdb3c49d049193e0fc225fe4bdb95712c311d6615 (diff)
Fix Params case handling in the new site global
Fixes #5615
Diffstat (limited to 'hugolib')
-rw-r--r--hugolib/case_insensitive_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/hugolib/case_insensitive_test.go b/hugolib/case_insensitive_test.go
index f3ba5f933..8c94bf5db 100644
--- a/hugolib/case_insensitive_test.go
+++ b/hugolib/case_insensitive_test.go
@@ -125,6 +125,7 @@ Shortcode Site: {{ .Page.Site.Params.COLOR }}|{{ .Site.Params.COLORS.YELLOW }}
writeToFs(t, fs, "layouts/partials/partial.html", `
Partial Page: {{ .Params.COLOR }}|{{ .Params.Colors.Blue }}
Partial Site: {{ .Site.Params.COLOR }}|{{ .Site.Params.COLORS.YELLOW }}
+Partial Site Global: {{ site.Params.COLOR }}|{{ site.Params.COLORS.YELLOW }}
`)
writeToFs(t, fs, "config.toml", caseMixingSiteConfigTOML)
@@ -200,6 +201,7 @@ Site Colors: {{ .Site.Params.COLOR }}|{{ .Site.Params.COLORS.YELLOW }}
"Shortcode Site: green|yellow",
"Partial Page: red|heavenly",
"Partial Site: green|yellow",
+ "Partial Site Global: green|yellow",
"Page Title: Side 1",
"Site Title: Nynorsk title",
"&laquo;Hi&raquo;", // angled quotes