Hello,
I would like to use a different stylesheet file depending on the post template used.
https://zupimages.net/up/23/16/pu78.png
"postTemplates": {
"landing": "Landing page",
"product": "Product page"
},
With conditional helper how to check if the post template “landing” is used?
{{#if postTemplates}}
<link rel="stylesheet" href="{{css "landing.css" }}">
{{else}}
<link rel="stylesheet" href="{{css "style.css" }}">
{{/if}}
Thanks