diff --git a/layouts/partials/single/footer.html b/layouts/partials/single/footer.html index 5aa41bc3..a57cd6b5 100644 --- a/layouts/partials/single/footer.html +++ b/layouts/partials/single/footer.html @@ -7,11 +7,12 @@
{{- printf (T "lastMod") $modify_date -}} - {{- with .GitInfo -}} - {{- $gitHash := .Hash -}} -   - {{- .AbbreviatedHash -}} - + {{- if .Site.Params.gitRepo -}} + {{- with .GitInfo -}} +   + {{- .AbbreviatedHash -}} + + {{- end -}} {{- end -}}