mirror of
https://git.adityakumar.xyz/hugo-devresume-theme.git
synced 2024-11-21 11:42:52 +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">
|
||||
<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