hugo-theme-introduction/layouts/partials/home/social.html
B. Philipp Kleer 67738a31b5
Implementing academicons (#344)
* Add files via upload

import from scss files from ../vendor

* added academicons import

import from _academicons-import.sass

* added license for academicons

* added academicons fonts/scss in vendor

* added academicons in static/fonts

* changed social.html to differentiate between fontawesome and academicons

* deleted academicons manually loading

in the first steps I had implemented academicons manually before I added it in the assets/sass

* Delete .DS_Store

* Delete .DS_Store

* Delete .DS_Store

---------

Co-authored-by: bpkleer <benk@sowi.jlug.de>
2023-02-18 11:12:44 -06:00

19 lines
653 B
HTML

<div class="social-icons">
{{ range .Site.Params.social }}
{{ 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>