mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00: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