mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 20:11:37 +01:00
0989c28a0e
In Site config homeInfoParams: AlignSocialIconsTo: "center" # or left or right
9 lines
320 B
HTML
9 lines
320 B
HTML
<div class="social-icons" {{ with .align}}align="{{.}}" {{- end }}>
|
|
{{- range site.Params.socialIcons }}
|
|
<a href="{{ trim .url " " | safeURL }}" target="_blank" rel="noopener noreferrer me"
|
|
title="{{ (.title | default .name) | title }}">
|
|
{{ partial "svg.html" . }}
|
|
</a>
|
|
{{- end }}
|
|
</div>
|