Skip to content

Commit 8daf905

Browse files
committed
add patreon support to social media links in footer
1 parent 61c8a2b commit 8daf905

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Fixed bug where the navbar "burger" collapsed button didn't always revert back to a light colour
66
- Fixed bug where using an image as a navbar title did not render in GitHub Project pages that did not have a custom domain
77
- Fixed issue where image thumbnails on the feed page were always forced into a square rather than maintaining a proper image aspect ratio
8+
- Added support for Patreon in the social network links in the footer
89

910
## v5.0.0 (2020-09-15)
1011

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ social-network-links:
4343
facebook: deanattali
4444
github: daattali
4545
twitter: daattali
46+
# patreon: DeanAttali
4647
# reddit: yourname
4748
# linkedin: daattali
4849
# xing: yourname

_includes/social-networks-links.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
<i class="fab fa-orcid fa-stack-1x fa-inverse"></i>
249249
</span>
250250
<span class="sr-only">ORCID</span>
251-
</a>
251+
</a>
252252
</li>
253253
{%- endif -%}
254254

@@ -260,8 +260,20 @@
260260
<i class="fa fa-graduation-cap fa-stack-1x fa-inverse"></i>
261261
</span>
262262
<span class="sr-only">Google Scholar</span>
263-
</a>
263+
</a>
264+
</li>
265+
{%- endif -%}
266+
267+
{%- if site.social-network-links.patreon -%}
268+
<li class="list-inline-item">
269+
<a href="https://patreon.com/{{ site.social-network-links.patreon }}" title="Patreon">
270+
<span class="fa-stack fa-lg" aria-hidden="true">
271+
<i class="fas fa-circle fa-stack-2x"></i>
272+
<i class="fab fa-patreon fa-stack-1x fa-inverse"></i>
273+
</span>
274+
<span class="sr-only">Patreon</span>
275+
</a>
264276
</li>
265-
{%- endif -%}
277+
{%- endif -%}
266278

267279
</ul>

0 commit comments

Comments
 (0)