Merge pull request #974 from ChristianHering/main

🐛 Fix tel:, ftp:, etc URLs For Author Links
This commit is contained in:
Nuno Coração 2023-09-29 00:15:41 +01:00 committed by GitHub
commit 09f5b9a55d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"