diff options
Diffstat (limited to 'layouts/partials/footer.html')
-rw-r--r-- | layouts/partials/footer.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 030f657..8b48793 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,3 +1,6 @@ + {{ if eq .Type "page" }} + {{ partial "page_meta.html" . }} + {{ end }} <footer> <div class="container"> <div class="row"> @@ -50,7 +53,7 @@ <!-- Please don't remove this, keep my open source work credited :) --> <p class="credits theme-by text-muted"> {{ i18n "poweredBy" . | safeHTML }} - {{ with .Site.Params.commit }} • [<a href="{{.}}{{ getenv "GIT_COMMIT_SHA" }}">{{ getenv "GIT_COMMIT_SHA_SHORT" }}</a>]{{ end }} + {{ if $.GitInfo }} • [<a href="{{ .Site.Params.commit }}{{ .GitInfo.Hash }}">{{ substr .GitInfo.Hash 0 8 }}</a>]{{ end }} </p> </div> </div> |