Remove whitespace around urls wherever applicable

- corrects mistyped urls with leading or trailing whitespaces
This commit is contained in:
Aditya Telange committed 2020-12-13 16:56:41 +05:30
1 parent 8af7c551ff
commit 14c524539b
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -9,9 +9,9 @@
"thumbnailUrl": {{ .Site.Params.assets.favicon | default "favicon.ico" | absURL }},
"sameAs": [
{{- if .Site.Params.schema.sameAs }}
{{ range $i, $e := .Site.Params.schema.sameAs }}{{ if $i }}, {{ end }}{{ $e }}{{ end }}
{{ range $i, $e := .Site.Params.schema.sameAs }}{{ if $i }}, {{ end }}{{ trim $e " " }}{{ end }}
{{- else}}
{{ range $i, $e := .Site.Params.SocialIcons }}{{ if $i }}, {{ end }}{{ $e.url }}{{ end }}
{{ range $i, $e := .Site.Params.SocialIcons }}{{ if $i }}, {{ end }}{{ trim $e.url " " }}{{ end }}
{{- end}}
]
}