Skip to content
Permalink
Browse files

Merge pull request #106 from Nico264/patch-1

Add safeURL to social icons links
  • Loading branch information
Track3 committed Oct 27, 2019
2 parents a39f22f + c6af673 commit f647c23dac5bc6b0ab67552f8590470793b102d8
Showing with 1 addition and 1 deletion.
  1. +1 −1 layouts/partials/social-icons.html
@@ -1,3 +1,3 @@
{{ range . -}}
<a href="{{ .url }}" target="_blank" rel="noopener me" title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a>
<a href="{{ .url | safeURL }}" target="_blank" rel="noopener me" title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a>
{{- end -}}

0 comments on commit f647c23

Please sign in to comment.
You can’t perform that action at this time.