Skip to content

Commit

Permalink
Added Whatsapp to social network (#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissOS committed Mar 22, 2024
1 parent 1192868 commit c43989d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ social-network-links:
twitter: daattali
patreon: DeanAttali
youtube: "@daattali"
whatsapp: 15551212
# medium: yourname
# reddit: yourname
# linkedin: daattali
Expand Down
14 changes: 13 additions & 1 deletion _includes/social-networks-links.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,18 @@
</li>
{%- endif -%}

{%- if network[0] == "whatsapp" -%}
<li class="list-inline-item">
<a href="https://wa.me/{{ network[1] }}" title="Whatsapp">
<span class="fa-stack fa-lg" aria-hidden="true">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-whatsapp fa-stack-1x fa-inverse"></i>
</span>
<span class="sr-only">Whatsapp</span>
</a>
</li>
{%- endif -%}

{%- if network[0] == "github" -%}
<li class="list-inline-item">
<a href="https://github.com/{{ network[1] }}" title="GitHub">
Expand Down Expand Up @@ -370,4 +382,4 @@
{%- endfor -%}

</ul>
{% endif %}
{% endif %}

0 comments on commit c43989d

Please sign in to comment.