CMS Development

Fernando_Aguila
Mitglied | Diamond Partner
Mitglied | Diamond Partner

Macros don't execute

lösung

macros in my blog do not execute

Macro:

{% macro share(size) %}

{{size}}

{% endmacro %}

 

Template

{{share('left')}}

 

 

0 Upvotes
1 Akzeptierte Lösung
lscanlan
Lösung
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

Macros don't execute

lösung

Hi @Fernando_Aguila,

 

Sorry for not testing this out a bit more when you first posted. But this was an issue with our macros in the blog content module. We've pushed out a fix so this should be working again.

Leland Scanlan

HubSpot Developer Support

Lösung in ursprünglichem Beitrag anzeigen

2 Antworten
lscanlan
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

Macros don't execute

lösung

Hi @Fernando_Aguila,

 

Can you link me to where you're trying to use this? Without a live page or template, I'm really not sure what the goal is or what's working vs. not working. But if I have a page to look at, I'm happy to take a closer look.

 

Thanks,

Leland

Leland Scanlan

HubSpot Developer Support
0 Upvotes
lscanlan
Lösung
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

Macros don't execute

lösung

Hi @Fernando_Aguila,

 

Sorry for not testing this out a bit more when you first posted. But this was an issue with our macros in the blog content module. We've pushed out a fix so this should be working again.

Leland Scanlan

HubSpot Developer Support