added safeurl to many links to allow for tel: links

This commit is contained in:
Gabriele Musco 2021-07-06 23:23:09 +02:00
parent f9c98de489
commit 6bb8b3952d
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
3 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@
</a></li>
{{ end }}
{{ range .Site.Menus.main }}
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
<li><a href="{{ .URL | safeURL }}">{{ .Name }}</a></li>
{{ end }}
{{ if (.Site.Params.showTags | default true) }}
<li><a href="/tags">Tags</a></li>