npqhugo/layouts/partials/footer.html

20 lines
545 B
HTML
Raw Normal View History

2020-04-11 19:28:48 +08:00
<footer>
2020-04-12 02:58:41 +08:00
<div class="footer-content">
2020-05-16 04:21:03 +08:00
{{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}}
2020-04-11 20:51:04 +08:00
{{with .Site.Copyright}}
<p class="copyright meta">{{.}}</p>
{{end}}
2020-04-12 02:58:41 +08:00
</div>
2020-04-11 19:28:48 +08:00
</footer>