diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index c949275..0ce358d 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -60,3 +60,4 @@ - [Paolo Mainardi](https://paolomainardi.com) - [Ka-Wai Lin](https://github.com/kwlin) - [Piotr Orzechowski](https://orzechowski.tech) +- [Glenn Feunteun](https://github.com/gfeun) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1677656..6c2d72c 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -16,8 +16,9 @@ {{ i18n "powered_by" }} Hugo & Coder. {{ end }} {{ if .Site.Params.commit }} - {{ if or (not .Site.Params.hideCredits) (not .Site.Params.hideCopyright) }} ยท {{ end }} - [{{ getenv "GIT_COMMIT_SHA_SHORT" }}] + {{ if .GitInfo }} + [{{ .GitInfo.AbbreviatedHash }}] + {{ end }} {{ end }}