mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
Merge pull request #2064 from MrSom3body/main
✨ don't add `mailto:` links to `<head>`
This commit is contained in:
@@ -115,9 +115,11 @@
|
|||||||
{{ with .Site.Params.Author.links }}
|
{{ with .Site.Params.Author.links }}
|
||||||
{{ range $links := . }}
|
{{ range $links := . }}
|
||||||
{{ range $name, $url := $links }}
|
{{ range $name, $url := $links }}
|
||||||
|
{{ if not (strings.HasPrefix $url "mailto:") }}
|
||||||
<link href="{{ $url }}" rel="me" />{{ end }}
|
<link href="{{ $url }}" rel="me" />{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
{{/* Vendor */}}
|
{{/* Vendor */}}
|
||||||
{{ partial "vendor.html" . }}
|
{{ partial "vendor.html" . }}
|
||||||
{{/* Analytics */}}
|
{{/* Analytics */}}
|
||||||
|
|||||||
Reference in New Issue
Block a user