Skip to content

Commit

Permalink
swap out twitter with mastodon
Browse files Browse the repository at this point in the history
Signed-off-by: Shai Sachs <[email protected]>
  • Loading branch information
shaisachs committed Jan 3, 2024
1 parent 68e406f commit 23204fd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ about-author: I am a Staff Engineer at Wayfair. Contact me if you want to join u
author-firstname: Shai
author-lastname: Sachs
social-home: https://shaisachs.com
social-twitter: shaisachs
social-twitter:
social-facebook: shaisachs
social-github: shaisachs # add your Github handle
social-linkedin: shaisachs
social-email: # add your Email address
social-mastodon: https://mstdn.party/@shaisachs

# Tracker
analytics: # Google Analytics
Expand Down
15 changes: 9 additions & 6 deletions _layouts/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,20 @@ <h3 class="contact-title">Contact</h3>
{% if site.social-home %}
<li><a href="{{ site.social-home }}" target="_blank"><i class="fa fa-globe" aria-hidden="true"></i></a></li>
{% endif %}
{% if site.social-twitter %}
<li><a href="https://twitter.com/{{ site.social-twitter }}" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
{% if site.social-linkedin %}
<li class="linkedin"><a href="https://in.linkedin.com/in/{{site.social-linkedin}}" target="_blank"><i class="fa fa-linkedin"></i></a></li>
{% endif %}
{% if site.social-github %}
<li class="github"><a href="http://github.com/{{site.social-github}}" target="_blank"><i class="fa fa-github"></i></a></li>
{% endif %}
{% if site.social-facebook %}
<li><a href="https://facebook.com/{{ site.social-facebook }}" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
{% endif %}
{% if site.social-github %}
<li class="github"><a href="http://github.com/{{site.social-github}}" target="_blank"><i class="fa fa-github"></i></a></li>
{% if site.social-mastodon %}
<li><a href="{{ site.social-mastodon }}" target="_blank"><i class="fa">m</i></a></li>
{% endif %}
{% if site.social-linkedin %}
<li class="linkedin"><a href="https://in.linkedin.com/in/{{site.social-linkedin}}" target="_blank"><i class="fa fa-linkedin"></i></a></li>
{% if site.social-twitter %}
<li><a href="https://twitter.com/{{ site.social-twitter }}" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a></li>
{% endif %}
</ul>
</section> <!-- End Section Contact -->
Expand Down

0 comments on commit 23204fd

Please sign in to comment.