diff --git a/layouts/partials/paige/social.html b/layouts/partials/paige/social.html index 2cb51b94..2e2e5720 100644 --- a/layouts/partials/paige/social.html +++ b/layouts/partials/paige/social.html @@ -1,6 +1,6 @@ {{ $page := . }} - + {{ range $k, $v := $page.Param "paige.social" }} {{ if hasPrefix $v.link "mailto:" }} {{ $v.name }} diff --git a/layouts/shortcodes/paige/social.html b/layouts/shortcodes/paige/social.html new file mode 100644 index 00000000..e590a1da --- /dev/null +++ b/layouts/shortcodes/paige/social.html @@ -0,0 +1,7 @@ +{{ $page := .Page }} + +{{ if $page.Param "paige.social" }} +

+ {{ partial "paige/social.html" $page }} +

+{{ end }}