From 76cd649799b3612f52228a7a10e091b377aae3cf Mon Sep 17 00:00:00 2001 From: Diksha Verma <112dikshaverma@gmail.com> Date: Wed, 24 Feb 2021 22:09:39 +0530 Subject: [PATCH] Adding option for Medium Social Link at footer (#784) --- CHANGELOG.md | 2 +- _config.yml | 1 + _includes/social-networks-links.html | 12 ++++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 374c031..a6b3aad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,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 +- Added support for Patreon and Medium in the social network links in the footer (#783) - Fixed bug where special characters in the title led to broken share tags (#744) - Updated staticman from using v2 (public servers) to v3 (private servers) due to the public servers becoming obsolete (#775) diff --git a/_config.yml b/_config.yml index 0bcd2a3..4977a08 100644 --- a/_config.yml +++ b/_config.yml @@ -45,6 +45,7 @@ social-network-links: twitter: daattali patreon: DeanAttali youtube: c/daattali +# medium: yourname # reddit: yourname # linkedin: daattali # xing: yourname diff --git a/_includes/social-networks-links.html b/_includes/social-networks-links.html index 7825aba..e2f5768 100644 --- a/_includes/social-networks-links.html +++ b/_includes/social-networks-links.html @@ -275,5 +275,17 @@ {%- endif -%} + + {%- if site.social-network-links.medium -%} +
  • + + + Medium + +
  • +{%- endif -%}