mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-04-21 01:51:54 +02:00
Fix tel:, ftp:, etc URLs For Author Links
Added safeURL to author links so that ftp and phone links work correctly. See Hugo documentation for more information: https://gohugo.io/functions/safeurl/
This commit is contained in:
parent
6a83762f12
commit
b2a05f09cd
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
{{ range $name, $url := $links }}
|
{{ range $name, $url := $links }}
|
||||||
<a
|
<a
|
||||||
class="px-1 hover:text-primary-700 dark:hover:text-primary-400"
|
class="px-1 hover:text-primary-700 dark:hover:text-primary-400"
|
||||||
href="{{ $url }}"
|
href="{{ $url | safeURL }}"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
aria-label="{{ $name | title }}"
|
aria-label="{{ $name | title }}"
|
||||||
rel="me noopener noreferrer"
|
rel="me noopener noreferrer"
|
||||||
|
|
Loading…
Add table
Reference in a new issue