From 10b6b6be0f1575622d7dd8e7b4049e1691a31cd2 Mon Sep 17 00:00:00 2001
From: CCS <36573530+LimitedEdition1@users.noreply.github.com>
Date: Thu, 17 May 2018 13:03:21 -0400
Subject: [PATCH] Add inheritance for social links. (#107)
---
layouts/partials/social-follow.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/layouts/partials/social-follow.html b/layouts/partials/social-follow.html
index 075249d..17fc7ef 100644
--- a/layouts/partials/social-follow.html
+++ b/layouts/partials/social-follow.html
@@ -1,31 +1,31 @@
{{ $icon_size := "32px" }}
-{{ with .Site.Params.facebook }}
+{{ with .Param "facebook" }}
{{ partial "svg/facebook.svg" (dict "size" $icon_size) }}
{{ end }}
-{{ with .Site.Params.twitter }}
+{{ with .Param "twitter" }}
{{ end }}
-{{ with .Site.Params.instagram }}
+{{ with .Param "instagram" }}
{{ partial "svg/instagram.svg" (dict "size" $icon_size) }}
{{ end }}
-{{ with .Site.Params.youtube }}
+{{ with .Param "youtube" }}
{{ partial "svg/youtube.svg" (dict "size" $icon_size) }}
{{ end }}
-{{ with .Site.Params.linkedin }}
+{{ with .Param "linkedin" }}
{{ partial "svg/linkedin.svg" (dict "size" $icon_size) }}
{{ end }}
-{{ with .Site.Params.github }}
+{{ with .Param "github" }}
{{ partial "svg/github.svg" (dict "size" $icon_size) }}