Skip to content

Commit

Permalink
Add safeURL to links
Browse files Browse the repository at this point in the history
See #17
  • Loading branch information
EmielH committed Dec 22, 2019
1 parent e4e01c1 commit 854c82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/index.html
Expand Up @@ -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 -}}
Expand Down

0 comments on commit 854c82c

Please sign in to comment.