Remove whitespace around urls wherever applicable

- corrects mistyped urls with leading or trailing whitespaces
This commit is contained in:
Aditya Telange
2020-12-13 16:56:41 +05:30
parent 8af7c551ff
commit 14c524539b
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<div class="social-icons">
{{- range . -}}
<a href="{{ .url }}" target="_blank" rel="noopener noreferrer me"
<a href="{{ trim .url " " }}" target="_blank" rel="noopener noreferrer me"
title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a>
{{- end -}}
</div>