From eff736d1312bf7799ae68eadbae860da00c35e46 Mon Sep 17 00:00:00 2001 From: Karl Hallsby Date: Wed, 17 Nov 2021 00:25:00 -0600 Subject: Put social information in footer ALL the time Defined a new boolean value in config.yml to enable this printing. The social logos do not show in the actual footer, but right above it. This happens on ALL pages as well. --- _config.yml | 2 +- _includes/footer.html | 11 +++++++++++ _layouts/about.html | 8 -------- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/_config.yml b/_config.yml index c1273bf..37101ea 100644 --- a/_config.yml +++ b/_config.yml @@ -52,7 +52,7 @@ og_image: # The site-wide (default for all links) Open Graph preview image # ----------------------------------------------------------------------------- # Social integration # ----------------------------------------------------------------------------- - +social_footer: true github_username: "KarlJoad" # your GitHub user name # gitlab_username: "KarlJoad" # your GitLab user name twitter_username: # your Twitter handle diff --git a/_includes/footer.html b/_includes/footer.html index 2e34521..7573af4 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -1,3 +1,14 @@ +{% if site.social_footer %} +
+ +
+
+ {% include social.html %} +
+
{{ site.contact_note }}
+
+{% endif %} + {% if site.footer_fixed %}