Add Netlify status badge to footer
This commit is contained in:
parent
c0661f37e9
commit
4e21f00999
|
@ -9,9 +9,16 @@
|
||||||
| Built by: <a href="https://gohugo.com/">Hugo</a>
|
| Built by: <a href="https://gohugo.com/">Hugo</a>
|
||||||
| Theme: <a href="https://tildegit.org/petrichor/theme-mnemosyne-hugo">Mnemosyne</a>
|
| Theme: <a href="https://tildegit.org/petrichor/theme-mnemosyne-hugo">Mnemosyne</a>
|
||||||
</p>
|
</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 }}
|
{{ with .Site.Copyright | safeHTML }}
|
||||||
<hr />
|
<hr />
|
||||||
<p>{{.}}</p>
|
<p>{{.}}</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue