shithub: hugo

Download patch

ref: c362634b7d8802ea81b0b4341c800a9f78f7cd7c
parent: d71120852a8e14d0ea4d24de269fce041ef7b666
author: satotake <[email protected]>
date: Sun Aug 5 10:29:07 EDT 2018

Fix typo

--- a/tpl/os/init.go
+++ b/tpl/os/init.go
@@ -58,7 +58,7 @@
 		ns.AddMethodMapping(ctx.FileStat,
 			[]string{"fileStat"},
 			[][2]string{
-				{`{{ (fileExists "files/README.txt").Size }}`, `11`},
+				{`{{ (fileStat "files/README.txt").Size }}`, `11`},
 			},
 		)