Skip to content

Commit

Permalink
Add twitch to author
Browse files Browse the repository at this point in the history
  • Loading branch information
TeoCalvo committed Feb 4, 2024
1 parent ce33d82 commit 73c998c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ author:
- label: "LinkedIn"
icon: "fab fa-fw fa-linkedin"
url: "https://www.linkedin.com/in/teocalvo/"
- label: "Twitch"
icon: "fab fa-fw fa-twitch-square"
url: "https://twitch.tv/teomewhy"

footer:
links:
Expand All @@ -92,6 +95,9 @@ footer:
- label: "Linkedin"
icon: "fab fa-fw fa-linkedin"
url: "https://www.linkedin.com/in/teocalvo/"
- label: "Twitch"
icon: "fab fa-fw fa-twitch-square"
url: "https://twitch.tv/teomewhy"

defaults:
# _posts
Expand Down
8 changes: 8 additions & 0 deletions _includes/author-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ <h3 class="author__name p-name" itemprop="name">
</li>
{% endif %}

{% if author.twitter %}
<li>
<a href="https://twitch.tv/{{ author.twitch }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
<i class="fab fa-fw fa-twitch" aria-hidden="true"></i><span class="label">Twitter</span>
</a>
</li>
{% endif %}

{% if author.facebook %}
<li>
<a href="https://www.facebook.com/{{ author.facebook }}" itemprop="sameAs" rel="nofollow noopener noreferrer me">
Expand Down

0 comments on commit 73c998c

Please sign in to comment.