mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2024-12-27 15:35:52 -05: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>
|