mirror of
https://git.adityakumar.xyz/adityakumar.xyz.git
synced 2024-12-23 01:12:52 +00:00
25 lines
848 B
HTML
25 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>
|