29 lines
1 KiB
HTML
29 lines
1 KiB
HTML
|
{{- $footer := .Site.Params.footer }}
|
||
|
{{- $social := index $footer "social" }}
|
||
|
{{- $links := index $footer "links" }}
|
||
|
{{ $template := resources.Get "scss/footer.scss" }}
|
||
|
{{ if $template }}
|
||
|
{{ $footer := $template | resources.ExecuteAsTemplate "css/footer.scss" . | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }}
|
||
|
<link rel="stylesheet" type="text/css" href="{{ $footer.Permalink }}">
|
||
|
{{ end }}
|
||
|
<footer class="footer">
|
||
|
<div class="social-media-footer">
|
||
|
<span>
|
||
|
{{- range $social}}
|
||
|
<a href="{{ .url }}"><i class="fab fa-{{ .type }}"></i></a>
|
||
|
{{- end }}
|
||
|
</span>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="links">
|
||
|
{{- range $links}}
|
||
|
<li class="link"><a href="{{ .url }}">{{ .text }}</a></li>
|
||
|
{{- end }}
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="copyright">
|
||
|
© 2021 <a href="https://nutfactory.org">Nutfactory</a>
|
||
|
</div>
|
||
|
</footer>
|
||
|
<a class="totop hide" id="totop" href="#"><i class="fas fa-chevron-up"></i></a>
|
||
|
<script src="/js/totop.js"></script>
|