Skip to content

Commit

Permalink
Fixed missing updated references to socials (#2894)
Browse files Browse the repository at this point in the history
Signed-off-by: George Araújo <[email protected]>
  • Loading branch information
george-gca authored Dec 12, 2024
1 parent 00249b9 commit 3cdb9e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _includes/scripts/search.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
{%- when "email" -%}
{%- assign social_id = "social-email" -%}
{%- assign social_title = "email" -%}
{%- assign social_url = "mailto:{{ site.email | encode_email }}" -%}
{%- assign social_url = "mailto:{{ social[1] | encode_email }}" -%}
{%- when "facebook_id" -%}
{%- assign social_id = "social-facebook" -%}
{%- assign social_title = "Facebook" -%}
Expand Down Expand Up @@ -200,7 +200,7 @@
{%- when "mastodon_username" -%}
{%- assign social_id = "social-mastodon" -%}
{%- assign social_title = "Mastodon" -%}
{%- assign social_url = "https://{{ site.mastodon_username }}" -%}
{%- assign social_url = "https://{{ social[1] }}" -%}
{%- when "medium_username" -%}
{%- assign social_id = "social-medium" -%}
{%- assign social_title = "Medium" -%}
Expand Down
2 changes: 1 addition & 1 deletion _includes/social.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
{% when 'wechat_qr' %}
<a id="WeChatBtn" title="WeChat"><i class="fa-brands fa-weixin"></i></a>
<div id="WeChatMod" class="wechat-modal">
<img src="{{ site.wechat_qr | prepend: 'assets/img/' | relative_url }}" alt="WeChat QR" id="WeChatQR">
<img src="{{ social[1] | prepend: 'assets/img/' | relative_url }}" alt="WeChat QR" id="WeChatQR">
</div>
{% include scripts/wechatModal.liquid %}
{% when 'whatsapp_number' %}
Expand Down

0 comments on commit 3cdb9e4

Please sign in to comment.