add patreon support to social media links in footer

This commit is contained in:
Dean Attali 2020-11-05 07:32:46 +00:00
parent 61c8a2b1c5
commit 8daf9057a1
3 changed files with 17 additions and 3 deletions

View File

@ -5,6 +5,7 @@
- Fixed bug where the navbar "burger" collapsed button didn't always revert back to a light colour - 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 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 - 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) ## v5.0.0 (2020-09-15)

View File

@ -43,6 +43,7 @@ social-network-links:
facebook: deanattali facebook: deanattali
github: daattali github: daattali
twitter: daattali twitter: daattali
# patreon: DeanAttali
# reddit: yourname # reddit: yourname
# linkedin: daattali # linkedin: daattali
# xing: yourname # xing: yourname

View File

@ -264,4 +264,16 @@
</li> </li>
{%- endif -%} {%- endif -%}
{%- if site.social-network-links.patreon -%}
<li class="list-inline-item">
<a href="https://patreon.com/{{ site.social-network-links.patreon }}" title="Patreon">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-patreon fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">Patreon</span>
</a>
</li>
{%- endif -%}
</ul> </ul>