diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 5b9e8e0..e4fc4e4 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -37,7 +37,7 @@ {{- end }}

{{ i18n "wordCount" . }}

{{ dateFormat .Site.Params.dateformNumTime .Date.Local }}

- {{- if .GitInfo }} + {{- if and .GitInfo .Site.Params.gitUrl }}

{{ .GitInfo.AbbreviatedHash }} @ {{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}

{{- end }}