shithub: hugo

Download patch

ref: 71931b30b1813b146aaa60f5cdab16c0f9ebebdb
parent: d40116e5f941e4734ed3bed69dce8ffe11fc76b2
author: satotake <[email protected]>
date: Sun Aug 5 20:18:13 EDT 2018

Remove alias of os.Stat

--- a/tpl/os/init.go
+++ b/tpl/os/init.go
@@ -55,13 +55,6 @@
 			},
 		)
 
-		ns.AddMethodMapping(ctx.Stat,
-			[]string{"fileStat"},
-			[][2]string{
-				{`{{ (fileStat "files/README.txt").Size }}`, `11`},
-			},
-		)
-
 		return ns
 
 	}