Overwrite footer from theme so all fa-icons can be used - not only brands
This commit is contained in:
parent
3de580f7de
commit
27efd142bc
14
config.yaml
14
config.yaml
|
@ -17,31 +17,31 @@ params:
|
|||
### Footer Social Media Links ###
|
||||
share:
|
||||
- title: gitea
|
||||
icon: fa-git
|
||||
icon: brands fa-git
|
||||
link: https://git.dezentrale.cloud/Freifunk-Leipzig
|
||||
|
||||
# - title: facebook
|
||||
# icon: fa-facebook-f # fontawesome icons https://fontawesome.com/icons?d=gallery&s=brands
|
||||
# icon: brands fa-facebook-f # fontawesome icons https://fontawesome.com/icons?d=gallery&s=brands
|
||||
# link: https://de-de.facebook.com/FreifunkLeipzig
|
||||
|
||||
- title: matrix
|
||||
icon: fa-comment-dots
|
||||
icon: regular fa-comment-dots
|
||||
link: https://matrix.to/#/#freifunk-leipzig:chat.dezentrale.space
|
||||
|
||||
- title: wekan
|
||||
icon: fa-clipboard-list
|
||||
icon: solid fa-clipboard-list
|
||||
link: https://wekan.dezentrale.cloud/b/qSegMo4LWakYztmfq/freifunk-leipzig
|
||||
|
||||
- title: tickets
|
||||
icon: fa-ticket-alt
|
||||
icon: solid fa-ticket-alt
|
||||
link: https://ticket.freifunk-leipzig.de/scp/login.php
|
||||
|
||||
- title: twitter
|
||||
icon: fa-twitter
|
||||
icon: brands fa-twitter
|
||||
link: https://twitter.com/freifunk_l?lang=de
|
||||
|
||||
- title: github
|
||||
icon: fa-github
|
||||
icon: brands fa-github
|
||||
link: https://github.com/freifunk-leipzig
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<!-- Footer -->
|
||||
{{/* we need to overwrite the footer from the template, as the original only accepts fa-icons from the 'brand' section */}}
|
||||
<footer id="footer">
|
||||
<ul class="icons">
|
||||
{{ range .Site.Params.share }}
|
||||
<li><a href="{{ .link }}" class="icon {{ .icon }}"><span class="label">{{ .title }}</span></a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<ul class="copyright">
|
||||
{{ with .Site.Params.copyright }}
|
||||
<li>{{ . | markdownify }}</li>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.design }}
|
||||
<li>{{ . | markdownify }}</li>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.author }}
|
||||
<li>{{ . | markdownify }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</footer>
|
Reference in New Issue