mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-16 16:54:38 -04:00
Remove alias of os.Stat
This commit is contained in:
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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user