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 18:18:13 +0300
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-08-06 10:54:26 +0300
commit71931b30b1813b146aaa60f5cdab16c0f9ebebdb (patch)
treeed947a0ba88fd484a87e84166d95b4cc5c6891c0
parentd40116e5f941e4734ed3bed69dce8ffe11fc76b2 (diff)
Remove alias of os.Stat
-rw-r--r--tpl/os/init.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/tpl/os/init.go b/tpl/os/init.go
index 0b52ddea2..3ef8702d6 100644
--- a/tpl/os/init.go
+++ b/tpl/os/init.go
@@ -55,13 +55,6 @@ func init() {
},
)
- ns.AddMethodMapping(ctx.Stat,
- []string{"fileStat"},
- [][2]string{
- {`{{ (fileStat "files/README.txt").Size }}`, `11`},
- },
- )
-
return ns
}