Make footer phone number a link

This commit is contained in:
Marko Korhonen 2023-11-07 15:05:34 +02:00
parent 99436d10a4
commit 2c1f0fe354
Signed by: FunctionalHacker
GPG Key ID: A7F78BCB859CD890
1 changed files with 3 additions and 1 deletions

View File

@ -106,7 +106,9 @@
<span><i class="fas fa-envelope"></i></span> <span>{{ $value }}</span>
{{ else if (eq $key "phone") }}
<li><span><i class="fas fa-phone-alt"></i></span> <span>{{ $value }}</span></li>
<li><a href={{ printf "tel:%s" $value }} target="_blank" rel="me">
<span><i class="fas fa-phone-alt"></i></span> <span>{{ $value }}</span>
{{ else if (eq $key "linkedin") }}
<li><a href={{ printf "" $value }} target="_blank" rel="noopener">
<span><i class="fab fa-linkedin"></i></span> <span>{{ $ }}</span>