CMS Development

soku
Member

how do I get the src url of the company logo ?

SOLVE

Trying to add logo into bootstrap4 html schema and can't find how to get just the url of the company log. Following tag output extra html and can't modify the class it generates. 

{% logo %}
0 Upvotes
1 Accepted solution
Zengoma
Solution
Participant

how do I get the src url of the company logo ?

SOLVE

I'm kinda late to the party here, but others might find this useful. You can access the site-settings logo using the following site_settings attribute:

{{ site_settings.logoSrc }}

View solution in original post

0 Upvotes
3 Replies 3
Zengoma
Solution
Participant

how do I get the src url of the company logo ?

SOLVE

I'm kinda late to the party here, but others might find this useful. You can access the site-settings logo using the following site_settings attribute:

{{ site_settings.logoSrc }}
0 Upvotes
DanielSanchez
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

how do I get the src url of the company logo ?

SOLVE

Hi @soku 

 

I see that you talk about Schema. 

 

This link helped me to configure Schema in HubSpot. Look if help you too: https://www.moreycreative.com/blog/adding-schema-to-hubspot-websites

 

Did this post help solve your problem? If so, please mark it as a solution.

Best Regards!

WendyGoh
HubSpot Employee
HubSpot Employee

how do I get the src url of the company logo ?

SOLVE

Hi @soku,

 

Sincere apologise for the delayed in response.

 

How are you adding logo into bootstrap4 html? Are you able to extract only the src attribute using jquery of the logo image generated by the following hubl:

{% logo %}
0 Upvotes