diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2022-11-24 21:24:18 -0800 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-11-25 09:54:35 +0100 |
commit | b8d5c378baf620781a770559ce2c9d4f690640ba (patch) | |
tree | ec45f7b4dce614d8b917995ebe762aae256cb829 /tpl/collections/init.go | |
parent | 75f782a5a7048be7d97c3f40df7251589905968c (diff) |
tpl: Use consistent delimiter spacing in examples
Diffstat (limited to 'tpl/collections/init.go')
-rw-r--r-- | tpl/collections/init.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/collections/init.go b/tpl/collections/init.go index 3d22daab0..c992d3fb2 100644 --- a/tpl/collections/init.go +++ b/tpl/collections/init.go @@ -42,7 +42,7 @@ func init() { ns.AddMethodMapping(ctx.Complement, []string{"complement"}, [][2]string{ - {`{{ slice "a" "b" "c" "d" "e" "f" | complement (slice "b" "c") (slice "d" "e") }}`, `[a f]`}, + {`{{ slice "a" "b" "c" "d" "e" "f" | complement (slice "b" "c") (slice "d" "e") }}`, `[a f]`}, }, ) @@ -197,11 +197,11 @@ func init() { `[Yes, Hugo Rocks! Hugo Rocks!]`, }, { - `{{ merge (dict "title" "Default Title" "description" "Yes, Hugo Rocks!") (dict "title" "Hugo Rocks!") | sort }}`, + `{{ merge (dict "title" "Default Title" "description" "Yes, Hugo Rocks!") (dict "title" "Hugo Rocks!") | sort }}`, `[Yes, Hugo Rocks! Hugo Rocks!]`, }, { - `{{ merge (dict "title" "Default Title" "description" "Yes, Hugo Rocks!") (dict "title" "Hugo Rocks!") (dict "extra" "For reals!") | sort }}`, + `{{ merge (dict "title" "Default Title" "description" "Yes, Hugo Rocks!") (dict "title" "Hugo Rocks!") (dict "extra" "For reals!") | sort }}`, `[Yes, Hugo Rocks! For reals! Hugo Rocks!]`, }, }, |