You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hugo-theme-mini/layouts/partials/social.html

21 lines
494 B
HTML

<div id="social">
{{ if eq .Site.Params.iconFont "font-awesome" }}
{{ range $key, $val := .Site.Social }}
<a class="symbol" href="{{ $val }}">
<i class="fa fa-{{ $key }}"></i>
</a>
{{ end }}
{{ else }}
{{ $iconStyle := .Site.Params.socialIconStyle }}
{{ range $key, $val := .Site.Social }}
<a class="symbol" href="{{ $val }}">
{{ $iconStyle }}{{ if eq $key "twitter" }}twitterbird{{ else }}{{ $key }}{{ end }}
</a>
{{ end }}
{{ end }}
</div>