mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
Remove alias of os.Stat
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
d40116e5f9
commit
71931b30b1
@@ -55,13 +55,6 @@ func init() {
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
ns.AddMethodMapping(ctx.Stat,
|
|
||||||
[]string{"fileStat"},
|
|
||||||
[][2]string{
|
|
||||||
{`{{ (fileStat "files/README.txt").Size }}`, `11`},
|
|
||||||
},
|
|
||||||
)
|
|
||||||
|
|
||||||
return ns
|
return ns
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user