kobel/layouts/partials/footer.html

23 lines
639 B
HTML
Raw Normal View History

2023-12-25 22:14:57 +00:00
{{ with .Site.Params.footer }}
<footer class="footer">
{{ if .social }}
<div class="social">
{{ range .social }}
<a href="{{ .url }}"><i class="{{ if .type }} icon-{{ .type }} {{ else }} icon-link {{ end }}"></i></a>
{{ end }}
</div>
{{ end }}
{{ if .links }}
<ul class="links">
{{- range .links }}
<li class="link"><a href="{{ .url }}">{{ .text }}</a></li>
{{- end }}
</ul>
{{ end }}
{{ if .copyright }}
<p class="copyright">
© {{ dateFormat "2006" now }} {{ .copyright }}</a>
</p>
{{ end }}
</footer>
{{ end }}