mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-21 22:42:19 +00:00
declare socialLinks.url to be safeURLs
This commit is contained in:
parent
f47bae7b40
commit
8feb8931d7
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
<ul class="aside__social-links">
|
<ul class="aside__social-links">
|
||||||
{{ range $item := .Site.Params.socialLinks }}
|
{{ range $item := .Site.Params.socialLinks }}
|
||||||
<li>
|
<li>
|
||||||
<a target="_blank" href="{{ $item.url }}" rel="me" aria-label="{{ $item.title }}" title="{{ $item.title }}"><i class="{{ $item.icon }}" aria-hidden="true"></i></a>
|
<a target="_blank" href="{{ $item.url | safeURL }}" rel="me" aria-label="{{ $item.title }}" title="{{ $item.title }}"><i class="{{ $item.icon }}" aria-hidden="true"></i></a>
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue