mirror of
https://git.adityakumar.xyz/hugo-devresume-theme.git
synced 2024-11-09 23:09:46 +00:00
Added | safeURL
for contact list iteration.
using `tel:` without `safeURL` will replace it with `#ZgotmplZ` in url. Please see the below link for more details. https://gohugo.io/functions/safeurl/#prose
This commit is contained in:
parent
7c61b7565b
commit
92f57b4430
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
<div class="resume-contact col-12 col-md-6 col-lg-4 col-xl-3">
|
||||
<ul class="list-unstyled mb-0">
|
||||
{{ range .Site.Params.contact.list }}
|
||||
<li class="mb-2"><i class="{{ .style }} {{ .icon }} fa-fw fa-lg mr-2 "></i><a class="resume-link" href="{{ .url }}">{{ .text }}</a></li>
|
||||
<li class="mb-2"><i class="{{ .style }} {{ .icon }} fa-fw fa-lg mr-2 "></i><a class="resume-link" href="{{ .url | safeURL }}">{{ .text }}</a></li>
|
||||
{{ end }}
|
||||
<li class="mb-0"><i class="fas fa-map-marker-alt fa-fw fa-lg mr-2"></i>{{ .Site.Params.contact.location }}</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue