From 8daf9057a1c922b79f2c151ae1d6ffa9d7d501a9 Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Thu, 5 Nov 2020 07:32:46 +0000 Subject: [PATCH] add patreon support to social media links in footer --- CHANGELOG.md | 1 + _config.yml | 1 + _includes/social-networks-links.html | 18 +++++++++++++++--- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index add9ae3..5eb2427 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Fixed bug where the navbar "burger" collapsed button didn't always revert back to a light colour - Fixed bug where using an image as a navbar title did not render in GitHub Project pages that did not have a custom domain - Fixed issue where image thumbnails on the feed page were always forced into a square rather than maintaining a proper image aspect ratio +- Added support for Patreon in the social network links in the footer ## v5.0.0 (2020-09-15) diff --git a/_config.yml b/_config.yml index a1bfbb2..7d977ca 100644 --- a/_config.yml +++ b/_config.yml @@ -43,6 +43,7 @@ social-network-links: facebook: deanattali github: daattali twitter: daattali +# patreon: DeanAttali # reddit: yourname # linkedin: daattali # xing: yourname diff --git a/_includes/social-networks-links.html b/_includes/social-networks-links.html index 96379c0..7825aba 100644 --- a/_includes/social-networks-links.html +++ b/_includes/social-networks-links.html @@ -248,7 +248,7 @@ ORCID - + {%- endif -%} @@ -260,8 +260,20 @@ Google Scholar - + - {%- endif -%} +{%- endif -%} + +{%- if site.social-network-links.patreon -%} +
  • + + + Patreon + +
  • +{%- endif -%}