mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
tpl/strings: strings.RuneCount
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
c3115292a7
commit
019bd5576b
@@ -41,6 +41,11 @@ func init() {
|
||||
[][2]string{},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.RuneCount,
|
||||
nil,
|
||||
[][2]string{},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.CountWords,
|
||||
[]string{"countwords"},
|
||||
[][2]string{},
|
||||
|
Reference in New Issue
Block a user