Hey guys, i am having trouble modifying the latestPostWidget on my Startpage.
I want it to have an image, but it wount show it.
<li class="media">
<a class="pull-left" href="[[~[[+id]]]]">
[[*tv.news-img]]
</a>
<div class="media-body">
<a href="[[~[[+id]]]]"><h4 class="media-heading">[[+pagetitle]][[+publishedon:notempty=`<small> — [[+publishedon:strtotime:date=`%b %d, %Y`]]</small>`]]</h4></a>
[[+introtext]]<a href="[[~[[+id]]]]"> >></a>
</div>
</li>
This is what my latestPostTml looks like.
I added a template variable, called it "news-img" it has an input of img and output as well, it as also accessible when writing a blog post from the "blogPost" Tempalte.
basically everything is set up like in the tutorial.
Thank you!
Philipp