diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html index bee94fb..9849bbd 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -10,7 +10,7 @@ {{- with .buttons }}
{{- range . -}} - + {{ .name }} {{- end -}} diff --git a/layouts/partials/social_icons.html b/layouts/partials/social_icons.html index 7bb9c14..5729fe5 100644 --- a/layouts/partials/social_icons.html +++ b/layouts/partials/social_icons.html @@ -1,6 +1,6 @@
{{- range . -}} - {{ partial "svg.html" . }} {{- end -}}
diff --git a/layouts/partials/templates/schema_json.html b/layouts/partials/templates/schema_json.html index f04a0bf..5cf407e 100644 --- a/layouts/partials/templates/schema_json.html +++ b/layouts/partials/templates/schema_json.html @@ -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}} ] }