Skip to content

Commit

Permalink
Added Whatsapp to social network (daattali#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
SwissOS authored Mar 22, 2024
1 parent e6e50e1 commit 0323640
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 0323640

Please sign in to comment.