diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-12-22 12:50:17 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2019-12-22 12:50:17 +0300 |
commit | 854c82c75ee2f9c82b6bba2e8729820ad5092d62 (patch) | |
tree | 0fdb6d6fbd4e6821d67180dc304b5ec0f1f9011b | |
parent | e4e01c1952b3180a3747e9eb0e9b7a7650591677 (diff) |
Add safeURL to links
See #17
-rw-r--r-- | layouts/index.html | 2 |
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 -}} |