Merge pull request #2064 from MrSom3body/main

✨ don't add `mailto:` links to `<head>`
This commit is contained in:
Nuno Coração authored and GitHub committed 2025-05-01 16:40:12 +01:00
commit 41c7456f98
1 file changed
+2
+2
View File
@@ -115,9 +115,11 @@
{{ with .Site.Params.Author.links }}
{{ range $links := . }}
{{ range $name, $url := $links }}
{{ if not (strings.HasPrefix $url "mailto:") }}
<link href="{{ $url }}" rel="me" />{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{/* Vendor */}}
{{ partial "vendor.html" . }}
{{/* Analytics */}}