feat: enable to align social icons

This commit is contained in:
leovct 2023-05-10 02:52:17 +02:00
parent bacb763071
commit 641f77bdd5
No known key found for this signature in database
GPG Key ID: FCB9A4852DB0F5A9

View File

@ -1,5 +1,5 @@
<div class="social-icons">
{{- range . }}
<div class="social-icons" style="float: {{ .align | default "right" }}">
{{- range .icons }}
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me" title="{{ (.title | default .name) | title }}">
{{ partial "svg.html" . }}
</a>