2023-11-19 16:11:04 +00:00
|
|
|
{{- $footer := .Site.Params.footer }}
|
|
|
|
{{- $social := index $footer "social" }}
|
|
|
|
{{- $links := index $footer "links" }}
|
2021-02-25 21:23:58 +00:00
|
|
|
{{ $template := resources.Get "scss/footer.scss" }}
|
|
|
|
{{ if $template }}
|
|
|
|
{{ $footer := $template | resources.ExecuteAsTemplate "css/footer.scss" . | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }}
|
2022-06-27 14:09:44 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ $footer.RelPermalink }}">
|
2021-02-25 21:23:58 +00:00
|
|
|
{{ end }}
|
|
|
|
<footer class="footer">
|
|
|
|
<div class="social-media-footer">
|
|
|
|
<span>
|
|
|
|
{{- range $social}}
|
2023-09-25 11:34:46 +00:00
|
|
|
<a href="{{ .url }}"><i class="icon-{{ .type }}"></i></a>
|
2021-02-25 21:23:58 +00:00
|
|
|
{{- end }}
|
2023-09-25 11:34:46 +00:00
|
|
|
<a href="/posts/index.xml"><i class="icon-rss"></i></a>
|
2021-02-25 21:23:58 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<ul class="links">
|
|
|
|
{{- range $links}}
|
|
|
|
<li class="link"><a href="{{ .url }}">{{ .text }}</a></li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="copyright">
|
2022-06-27 14:09:44 +00:00
|
|
|
© {{ dateFormat "2006" now }} {{ $footer.copyright }}</a>
|
2021-02-25 21:23:58 +00:00
|
|
|
</div>
|
|
|
|
</footer>
|
2023-09-25 11:34:46 +00:00
|
|
|
<a class="totop hide" id="totop" href="#"><i class="icon-angle-up"></i></a>
|
2021-02-25 21:23:58 +00:00
|
|
|
<script src="/js/totop.js"></script>
|