mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
@@ -57,6 +57,12 @@ func init() {
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.Warnf,
|
||||
[]string{"warnf"},
|
||||
[][2]string{
|
||||
{`{{ warnf "%s." "warning" }}`, ``},
|
||||
},
|
||||
)
|
||||
return ns
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user