mirror of
https://git.adityakumar.xyz/hugo-devresume-theme.git
synced 2024-11-09 14:59:45 +00:00
Merge pull request #4 from umarhussain15/patch-1
Added `| safeURL` for contact list iteration.
This commit is contained in:
commit
73727c0d48
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">
|
<div class="resume-contact col-12 col-md-6 col-lg-4 col-xl-3">
|
||||||
<ul class="list-unstyled mb-0">
|
<ul class="list-unstyled mb-0">
|
||||||
{{ range .Site.Params.contact.list }}
|
{{ 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 }}
|
{{ end }}
|
||||||
<li class="mb-0"><i class="fas fa-map-marker-alt fa-fw fa-lg mr-2"></i>{{ .Site.Params.contact.location }}</li>
|
<li class="mb-0"><i class="fas fa-map-marker-alt fa-fw fa-lg mr-2"></i>{{ .Site.Params.contact.location }}</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in a new issue