From bfe749bfdb771988c019da6b6e7bb6ab01ca5cca Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Mon, 19 Jun 2017 14:51:07 -0500 Subject: [PATCH] no need to be global here --- layouts/_default/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 2a4cae8..3dfda29 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,7 @@

{{ .Title }}

{{ with .Params.author }}

{{ . }}

{{ end }} -{{ if .Params.date }}

{{ $.Date.Format "2006/01/02" }}

{{ end }} +{{ if .Params.date }}

{{ .Date.Format "2006/01/02" }}

{{ end }}