Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsatotake <doublequotation@gmail.com>2018-08-05 15:59:29 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-06 10:54:26 +0300
commitd40116e5f941e4734ed3bed69dce8ffe11fc76b2 (patch)
tree897e0277ff7a324973dc05a29d4b83940fb7ef56 /tpl/os/init.go
parentc362634b7d8802ea81b0b4341c800a9f78f7cd7c (diff)
Renmae FileStat Stat
Diffstat (limited to 'tpl/os/init.go')
-rw-r--r--tpl/os/init.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/os/init.go b/tpl/os/init.go
index b11e742eb..0b52ddea2 100644
--- a/tpl/os/init.go
+++ b/tpl/os/init.go
@@ -55,7 +55,7 @@ func init() {
},
)
- ns.AddMethodMapping(ctx.FileStat,
+ ns.AddMethodMapping(ctx.Stat,
[]string{"fileStat"},
[][2]string{
{`{{ (fileStat "files/README.txt").Size }}`, `11`},