mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2025-02-05 22:40:01 +00:00
5b134ac767
* 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>
24 lines
848 B
HTML
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>
|