Add Netlify status badge to footer
This commit is contained in:
parent
c0661f37e9
commit
4e21f00999
|
@ -9,6 +9,13 @@
|
|||
| Built by: <a href="https://gohugo.com/">Hugo</a>
|
||||
| Theme: <a href="https://tildegit.org/petrichor/theme-mnemosyne-hugo">Mnemosyne</a>
|
||||
</p>
|
||||
{{ with .Site.Params.netlify }}
|
||||
<p class="mt-4">
|
||||
<a href="https://app.netlify.com/sites/{{.name}}/deploys">
|
||||
Build status: <img src="https://api.netlify.com/api/v1/badges/{{.id}}/deploy-status">
|
||||
</a>
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ with .Site.Copyright | safeHTML }}
|
||||
<hr />
|
||||
<p>{{.}}</p>
|
||||
|
|
Loading…
Reference in New Issue