Simple question: I have 3 templates:
- _default/baseof.html
- _default/baseof.amp.html
- partials/image.html
How can I send a variable to the “partials/image.html” from the first 2 to be possible to have:
{{ if eq "site" "namp" }}
<img src="...">
{{ else if eq "site" "amp" }}
<amp-image>
<img src="...">
</amp-image>
{{ end }}
without having 2 templates for image?