added safeurl to many links to allow for tel: links
This commit is contained in:
parent
f9c98de489
commit
6bb8b3952d
|
@ -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>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<a
|
||||
target="_blank"
|
||||
class="nerdlink"
|
||||
href="{{ .URL }}">
|
||||
href="{{ .URL | safeURL }}">
|
||||
{{ $icon := index site.Data.supported_icons (lower .Identifier) | safeHTML }}
|
||||
{{ if $icon }}
|
||||
{{ $icon | safeHTML }}
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<ul>
|
||||
{{ range .Site.Data.jumbotron.links }}
|
||||
<li>
|
||||
<a class="{{ if .huge }}huge{{ end }}" href="{{ .link }}">
|
||||
<a class="{{ if .huge }}huge{{ end }}" href="{{ .link | safeURL }}">
|
||||
{{ .title }}
|
||||
</a>
|
||||
</li>
|
||||
|
|
Loading…
Reference in New Issue