Skip to content
Permalink
Browse files

Add safeURL to links

See #17
  • Loading branch information
EmielH committed Dec 22, 2019
1 parent e4e01c1 commit 854c82c75ee2f9c82b6bba2e8729820ad5092d62
Showing with 1 addition and 1 deletion.
  1. +1 −1 layouts/index.html
@@ -16,7 +16,7 @@ <h2>{{ i18n "i-am" }} {{ .Site.Author.name | default "Hallo" }}.</h2>

<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 -}}

0 comments on commit 854c82c

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