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