diff options
author | satotake <[email protected]> | 2018-08-05 14:29:07 +0900 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2018-08-06 09:54:26 +0200 |
commit | c362634b7d8802ea81b0b4341c800a9f78f7cd7c (patch) | |
tree | f6de66de79fd48a9cf6eb10794fd8860fcdbe2ff | |
parent | d71120852a8e14d0ea4d24de269fce041ef7b666 (diff) | |
download | hugo-c362634b7d8802ea81b0b4341c800a9f78f7cd7c.tar.gz hugo-c362634b7d8802ea81b0b4341c800a9f78f7cd7c.zip |
Fix typo
-rw-r--r-- | tpl/os/init.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tpl/os/init.go b/tpl/os/init.go index 08a36fe7b..b11e742eb 100644 --- a/tpl/os/init.go +++ b/tpl/os/init.go @@ -58,7 +58,7 @@ func init() { ns.AddMethodMapping(ctx.FileStat, []string{"fileStat"}, [][2]string{ - {`{{ (fileExists "files/README.txt").Size }}`, `11`}, + {`{{ (fileStat "files/README.txt").Size }}`, `11`}, }, ) |