mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
committed by
Bjørn Erik Pedersen
parent
7eba37ae9b
commit
1bc93021e3
@@ -48,11 +48,11 @@ func init() {
|
||||
[]string{"jsonify"},
|
||||
[][2]string{
|
||||
{`{{ (slice "A" "B" "C") | jsonify }}`, `["A","B","C"]`},
|
||||
{`{{ (slice "A" "B" "C") | jsonify " "}}`, "[\n \"A\",\n \"B\",\n \"C\"\n]"},
|
||||
},
|
||||
)
|
||||
|
||||
return ns
|
||||
|
||||
}
|
||||
|
||||
internal.AddTemplateFuncsNamespace(f)
|
||||
|
Reference in New Issue
Block a user