Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Track3/hermit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrack3 <34504964+Track3@users.noreply.github.com>2019-10-27 15:45:42 +0300
committerGitHub <noreply@github.com>2019-10-27 15:45:42 +0300
commitf647c23dac5bc6b0ab67552f8590470793b102d8 (patch)
treed4857d19187be07c5d479e1dfec23166305ea65e
parenta39f22f28031b186986a7eb091072f66aff562a6 (diff)
parentc6af673ff8a7ee8f15f94aa07e7e37f673ce3b4f (diff)
Merge pull request #106 from Nico264/patch-1
Add safeURL to social icons links
-rw-r--r--layouts/partials/social-icons.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/social-icons.html b/layouts/partials/social-icons.html
index e242218..b89f265 100644
--- a/layouts/partials/social-icons.html
+++ b/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 -}}