From 837e50d01096c8d04df36ebcea684d0597da1398 Mon Sep 17 00:00:00 2001 From: Nathan Biller Date: Tue, 8 Oct 2019 10:15:45 -0400 Subject: [PATCH] Added a variable to the config file for Follow Us text and then added this variable in place of the hardcoded english version. --- exampleSite/config.yaml | 2 ++ layouts/partials/footer.html | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 4447d30..45f7d3f 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -113,6 +113,8 @@ params: footer: # Logo (from /images/logos/___) logo: fresh-white-alt.svg + # Social Media Title + socialmediatext: Follow Us # Social media links (GitHub, Twitter, etc.). All are optional. socialmedia: - link: https://github.com/lucperkins/github-fresh diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 71b9bd6..576bd23 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -3,6 +3,7 @@ {{- $quickLinks := index $footer "quicklinks" }} {{- $socialMedia := index $footer "socialmedia" }} {{- $bulmaLogo := index $footer "bulmalogo" }} +{{- $followUs := index $footer "socialmediatext" }}