mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
@@ -57,6 +57,13 @@ func init() {
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.Erroridf,
|
||||
[]string{"erroridf"},
|
||||
[][2]string{
|
||||
{`{{ erroridf "my-err-id" "%s." "failed" }}`, ``},
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.Warnf,
|
||||
[]string{"warnf"},
|
||||
[][2]string{
|
||||
|
Reference in New Issue
Block a user