mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -155,6 +155,13 @@ func init() {
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.FirstUpper,
|
||||
nil,
|
||||
[][2]string{
|
||||
{`{{ "hugo rocks!" | strings.FirstUpper }}`, `Hugo rocks!`},
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.Truncate,
|
||||
[]string{"truncate"},
|
||||
[][2]string{
|
||||
|
Reference in New Issue
Block a user