Trouble with HTL includes
I have two includes on my sightly template (all files created by the Eclipse plugin):
<div data-sly-resource="${image @ resourceType='wcm/foundation/components/image', cssClassName='hero-img mdl-shadow--2dp'}" data-sly-unwrap></div>
This one renders some kind of default image:
<img src="/etc/designs/default/0.gif" title="Box" class="cq-dd-image" data-emptytext="Image">
The other is a text include: <div data-sly-resource="${text @ resourceType='wcm/foundation/components/text'}" data-sly-unwrap></div>
Renders this:
<p class="cq-text-placeholder-ipe" data-emptytext="Text"></p>
File I'm using is: apps/mysite/components/structure/page/partials/main.html
I can't figure out what I'm doing wrong. Why won't these open author dialogs?