diff options
author | Bjørn Erik Pedersen <[email protected]> | 2017-04-14 09:35:51 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2017-04-16 11:09:50 +0200 |
commit | 1726e902018f2637994704acbfa299f3f66d0354 (patch) | |
tree | c300a08a7f285b9b2dde58aed55a96e4cb21e5e4 | |
parent | 9cd6f69bdddb92ebf661837461e593440abadd71 (diff) | |
download | hugo-0.20.2.tar.gz hugo-0.20.2.zip |
docs: Add Netlify badge if on Netlifyv0.20.2
-rw-r--r-- | docs/layouts/partials/footer.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/layouts/partials/footer.html b/docs/layouts/partials/footer.html index 99a0eaf59..b422a1ad0 100644 --- a/docs/layouts/partials/footer.html +++ b/docs/layouts/partials/footer.html @@ -3,6 +3,11 @@ <p>Last revision: {{ .Lastmod.Format "January 2, 2006" }}{{ if .IsPage }}{{ with .GitInfo }} | <a href="https://github.com/spf13/hugo/commit/{{ .Hash }}">{{ .Subject }} ({{ .AbbreviatedHash }})</a>{{end }}{{ end }} <span style="float: right;">Hugo v{{ .Site.Params.release }} documentation</span> </p> + {{ with getenv "REPOSITORY_URL" -}} + <a href="https://www.netlify.com" style="float: right; padding-right: 20px;"> + <img src="https://www.netlify.com/img/global/badges/netlify-color-bg.svg"/> + </a> + {{- end }} </div> </div> |