We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
get_social_link
1 parent 48f55a5 commit 6251d29Copy full SHA for 6251d29
1 file changed
themes/hugoplate/layouts/shortcodes/get_social_link.html
@@ -1,6 +1,6 @@
1
-{{ $name := (.Get 0)}}
2
-{{ range site.Data.social.main }}
+{{ $name := (.Get 0) }}
+{{- range site.Data.social.main -}}
3
{{ if eq .name $name }}
4
{{ .link }}
5
{{ end }}
6
-{{ end }}
+{{- end -}}
0 commit comments