Extend Theme

This commit is contained in:
Hoernschen 2022-06-27 16:09:44 +02:00
parent 7239b2c45e
commit 0cf0202035
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
29 changed files with 802 additions and 169 deletions

View file

@ -4,7 +4,7 @@
{{ $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 }}">
<link rel="stylesheet" type="text/css" href="{{ $footer.RelPermalink }}">
{{ end }}
<footer class="footer">
<div class="social-media-footer">
@ -12,6 +12,7 @@
{{- range $social}}
<a href="{{ .url }}"><i class="fab fa-{{ .type }}"></i></a>
{{- end }}
<a href="/posts/index.xml"><i class="fas fa-rss"></i></a>
</span>
</div>
<div>
@ -22,7 +23,7 @@
</ul>
</div>
<div class="copyright">
© 2021 <a href="https://nutfactory.org">Nutfactory</a>
© {{ dateFormat "2006" now }} {{ $footer.copyright }}</a>
</div>
</footer>
<a class="totop hide" id="totop" href="#"><i class="fas fa-chevron-up"></i></a>