mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-25 22:00:58 +02:00
committed by
Bjørn Erik Pedersen
parent
9cd8fbb332
commit
e40b9fbbcf
@@ -115,6 +115,13 @@ func init() {
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.Rand,
|
||||
nil,
|
||||
[][2]string{
|
||||
{"{{ math.Rand }}", "0.6312770459590062"},
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.Round,
|
||||
nil,
|
||||
[][2]string{
|
||||
|
Reference in New Issue
Block a user