Skip to content

Commit

Permalink
add patreon support to social media links in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali committed Nov 5, 2020
1 parent 61c8a2b commit 8daf905
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ social-network-links:
facebook: deanattali
github: daattali
twitter: daattali
# patreon: DeanAttali
# reddit: yourname
# linkedin: daattali
# xing: yourname
Expand Down
18 changes: 15 additions & 3 deletions _includes/social-networks-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
<i class="fab fa-orcid fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">ORCID</span>
</a>
</a>
</li>
{%- endif -%}

Expand All @@ -260,8 +260,20 @@
<i class="fa fa-graduation-cap fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">Google Scholar</span>
</a>
</a>
</li>
{%- 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 -%}
{%- endif -%}

</ul>

0 comments on commit 8daf905

Please sign in to comment.