Fixed missing updated references to socials (#2894)

Signed-off-by: George Araújo <george.gcac@gmail.com>
This commit is contained in:
George 2024-12-12 15:28:42 -03:00 committed by GitHub
parent 00249b93c9
commit 3cdb9e4977
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -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" -%}

View File

@ -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' %}