Fix typo - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit c362634b7d8802ea81b0b4341c800a9f78f7cd7c
(DIR) parent d71120852a8e14d0ea4d24de269fce041ef7b666
(HTM) Author: satotake <doublequotation@gmail.com>
Date: Sun, 5 Aug 2018 14:29:07 +0900
Fix typo
Diffstat:
M tpl/os/init.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git 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`},
},
)