diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-01-18 17:48:19 +0000 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2019-01-20 12:42:24 +0000 |
commit | e1a66c7343db9d232749255dd9e3a58d94b86997 (patch) | |
tree | d627599de196ed8e08622226e5634cd602b08914 /hugolib | |
parent | db3c49d049193e0fc225fe4bdb95712c311d6615 (diff) |
Fix Params case handling in the new site global
Fixes #5615
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/case_insensitive_test.go | 2 |
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", "«Hi»", // angled quotes |