From c6af673ff8a7ee8f15f94aa07e7e37f673ce3b4f Mon Sep 17 00:00:00 2001 From: Nicolas Guichard Date: Sun, 20 Oct 2019 16:32:50 +0200 Subject: [PATCH] Add safeURL on social icons links The social icon links are generated from developer-controlled config.toml file. They can be considered safe. This enables using various URI schemes such as `tel:`, `sip:`, `geo:` or `whatever:`. --- layouts/partials/social-icons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . -}} -{{ partial "svg.html" . }} +{{ partial "svg.html" . }} {{- end -}}