Hi,
I have two layouts, default and theme.abc.liquid
In my code I want to check if I’m using theme.abc.liquid. theme.name just returns what I named my theme in the Online store…
Thanks in advance,
Kriszti
Hi,
I have two layouts, default and theme.abc.liquid
In my code I want to check if I’m using theme.abc.liquid. theme.name just returns what I named my theme in the Online store…
Thanks in advance,
Kriszti
You can just get it out with {% layout ‘name’ %}, it can’t get the name of the layout.
Hope it helps!