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

github.com/EmielH/hallo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Hollander <EmielH@users.noreply.github.com>2019-12-22 12:50:17 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2019-12-22 12:50:17 +0300
commit854c82c75ee2f9c82b6bba2e8729820ad5092d62 (patch)
tree0fdb6d6fbd4e6821d67180dc304b5ec0f1f9011b /layouts
parente4e01c1952b3180a3747e9eb0e9b7a7650591677 (diff)
Add safeURL to links
See #17
Diffstat (limited to 'layouts')
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 166315a..ae274ae 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -16,7 +16,7 @@
<div class="links">
{{- range .Site.Params.links -}}
- <a rel="me" href="{{ .url }}" title="{{ .title }}">
+ <a rel="me" href="{{ .url | safeURL }}" title="{{ .title }}">
<span class="{{ .iconset | default "fab" }} fa-{{ .icon }}"></span>
</a>
{{- end -}}