mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
tpl: Use consistent delimiter spacing in examples
This commit is contained in:
parent
75f782a5a7
commit
b8d5c378ba
6 changed files with 41 additions and 41 deletions
|
@ -32,9 +32,9 @@ func init() {
|
||||||
ns.AddMethodMapping(ctx.Dump,
|
ns.AddMethodMapping(ctx.Dump,
|
||||||
nil,
|
nil,
|
||||||
[][2]string{
|
[][2]string{
|
||||||
{`{{- $m := newScratch -}}
|
{`{{ $m := newScratch }}
|
||||||
{{- $m.Set "Hugo" "Rocks!" -}}
|
{{ $m.Set "Hugo" "Rocks!" }}
|
||||||
{{- $m.Values | debug.Dump | safeHTML -}}`, "map[string]interface {}{\n \"Hugo\": \"Rocks!\",\n}"},
|
{{ $m.Values | debug.Dump | safeHTML }}`, "map[string]interface {}{\n \"Hugo\": \"Rocks!\",\n}"},
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue