hugo-theme-introduction/layouts/partials/home/social.html
Alex Lovell-Troy 5b134ac767
Fixes #357 by upgrading to fontawesome-free 6.3.0 (#358)
* Fixes #357 by upgrading to fontawesome-free 6.3.0

* Replaced the existing font-awesome files with new ones
* Updated references in _variables.scss ro reference theme location
* Tweaked social.html to remove redundant css class

* Updating netlify.toml to more modern values

---------

Co-authored-by: Victoria Drake <24644237+victoriadrake@users.noreply.github.com>
2023-02-19 09:13:04 -06:00

24 lines
848 B
HTML

<div class="social-icons">
{{ range .Site.Params.social }}
{{ if eq .icon_pack "fa" }}
<a href="{{ .url }}" {{ .html_attributes | safeHTMLAttr }}>
<i class="{{ .icon_pack}} fa-{{ .icon}}"></i>
</a>
{{ end }}
{{ if eq .icon_pack "fab" }}
<a href="{{ .url }}" {{ .html_attributes | safeHTMLAttr }}>
<i class="{{ .icon_pack}} fab fa-{{ .icon}}"></i>
</a>
{{ end }}
{{ if eq .icon_pack "fas" }}
<a href="{{ .url }}" {{ .html_attributes | safeHTMLAttr }}>
<i class="{{ .icon_pack}} fas fa-{{ .icon}}"></i>
</a>
{{ end }}
{{ if eq .icon_pack "ai" }}
<a href="{{ .url }}" {{ .html_attributes | safeHTMLAttr }}>
<i class="{{ .icon_pack}} ai-{{ .icon}} ai-1.9x"></i>
</a>
{{ end }}
{{ end }}
</div>