http-links (not https) from HubL share code

LarsOrhoj
Participant

I have an issue reg. the social sharing links produced via HubL when sharing e.g. a blog post from our blog template.

This is code like this:

 

{% widget_block social_sharing "my_social_sharing" label='Social Sharing', use_page_url=True, overrideable=True %}

{% widget_attribute "facebook" is_json=True %}{"custom_link_format": "", "enabled": true, "network": "facebook", "img_src": ""}{% end_widget_attribute %}

{% widget_attribute "twitter" is_json=True %}{"custom_link_format": "", "enabled": true, "network": "twitter", "img_src": ""}{% end_widget_attribute %}

{% widget_attribute "linkedin" is_json=True %}{"custom_link_format": "", "enabled": true, "network": "linkedin", "img_src": ""}{% end_widget_attribute %}

{% end_widget_block %}

 

 

The issue is, that the links produced for LinkedIn and Facebook are "http" links and not "https" links. The links for Twitter are "https" links, so that is ok.

My question is: how do we ensure that we get https links for all three social media platforms from this HubL code?

0 Upvotes
2 Replies 2
roisinkirby
HubSpot Product Team

Hey @LarsOrhoj is this still something you are working on or were you able to find a solution? If not I'm happy to connect you with some of our design experts Smiley Happy

0 Upvotes
LarsOrhoj
Participant

Hi

 

I am not sure what reply you are refering to?

 

best 

 

Lars

0 Upvotes