mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-31 23:08:24 -04:00
socialIcons, fix: apply safeURL to make all URI schemes work (#1266)
This commit is contained in:
parent
74d288ff94
commit
61bf918a0d
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
{{- if site.Params.schema.sameAs }}
|
||||
{{ range $i, $e := site.Params.schema.sameAs }}{{ if $i }}, {{ end }}{{ trim $e " " }}{{ end }}
|
||||
{{- else}}
|
||||
{{ range $i, $e := site.Params.SocialIcons }}{{ if $i }}, {{ end }}{{ trim $e.url " " }}{{ end }}
|
||||
{{ range $i, $e := site.Params.SocialIcons }}{{ if $i }}, {{ end }}{{ trim $e.url " " | safeURL }}{{ end }}
|
||||
{{- end}}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue