npqhugo/layouts/partials/footer.html
2020-05-15 22:21:03 +02:00

20 lines
No EOL
545 B
HTML

<footer>
<div class="footer-content">
{{if (or (isset .Site.Params "mail") (isset .Site.Params "phone") ) }}
<div class="contact-info">
{{with .Site.Params.mail}}
<div class="footer-mail">
<i class="far fa-envelope"></i> <a href="mailto:{{.}}">{{.}}</a> </div>
{{end}}
{{with .Site.Params.phone}}
<div class="footer-phone">
<i class="fas fa-phone"></i> {{.}}
</div>
{{end}}
</div>
{{end}}
{{with .Site.Copyright}}
<p class="copyright meta">{{.}}</p>
{{end}}
</div>
</footer>