mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Renmae FileStat Stat
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
c362634b7d
commit
d40116e5f9
@@ -55,7 +55,7 @@ func init() {
|
||||
},
|
||||
)
|
||||
|
||||
ns.AddMethodMapping(ctx.FileStat,
|
||||
ns.AddMethodMapping(ctx.Stat,
|
||||
[]string{"fileStat"},
|
||||
[][2]string{
|
||||
{`{{ (fileStat "files/README.txt").Size }}`, `11`},
|
||||
|
Reference in New Issue
Block a user