From 3cdb9e49776dc7375a7c98f4b32370f43d240601 Mon Sep 17 00:00:00 2001 From: George <31376482+george-gca@users.noreply.github.com> Date: Thu, 12 Dec 2024 15:28:42 -0300 Subject: [PATCH] Fixed missing updated references to socials (#2894) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: George Araújo --- _includes/scripts/search.liquid | 4 ++-- _includes/social.liquid | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/scripts/search.liquid b/_includes/scripts/search.liquid index fe1e3ea63dae..6c1c09485cf9 100644 --- a/_includes/scripts/search.liquid +++ b/_includes/scripts/search.liquid @@ -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" -%} @@ -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" -%} diff --git a/_includes/social.liquid b/_includes/social.liquid index da1bbcaf9892..9535c1773833 100644 --- a/_includes/social.liquid +++ b/_includes/social.liquid @@ -75,7 +75,7 @@ {% when 'wechat_qr' %}
- WeChat QR + WeChat QR
{% include scripts/wechatModal.liquid %} {% when 'whatsapp_number' %}