From 0686e8aa37874ba5b978f0a941ce651ad9cab15e Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sun, 11 Dec 2022 17:59:44 -0800 Subject: [PATCH] Add paige_social.html --- layouts/_default/home.html | 10 +--------- layouts/partials/paige_social.html | 9 +++++++++ 2 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 layouts/partials/paige_social.html diff --git a/layouts/_default/home.html b/layouts/_default/home.html index 54b8b184..8f613cc2 100644 --- a/layouts/_default/home.html +++ b/layouts/_default/home.html @@ -37,13 +37,5 @@ {{ end }} {{ partial "paige_content.html" . }} -{{ if .Site.Social }} -
-
- {{ range $k, $v := .Site.Social }} - - {{ end }} -
-
-{{ end }} +{{ partial "paige_social.html" . }} {{ end }} diff --git a/layouts/partials/paige_social.html b/layouts/partials/paige_social.html new file mode 100644 index 00000000..130c8c32 --- /dev/null +++ b/layouts/partials/paige_social.html @@ -0,0 +1,9 @@ +{{ if .Site.Social }} +
+
+ {{ range $k, $v := .Site.Social }} + + {{ end }} +
+
+{{ end }}