Hi - would appreciate some help - am trying to extend the Blog starter theme - by adding more images to the blog post detail page - under the text content. Could someone show/explain the code needed to do this? I have populated the folder of the blog entry with more images - and just need to now display them on the main post page. Do I have to explicitly name each image in the .md file? Or can they be called from the twig template to just list all images out, etc… thanks so much. Apologies if this is basic stuff!
Something like this:
<ul>
{% for image in page.media.images %}
<li>
<h2>{{ image.get('filename') }}</h2>
{{ image.cropResize(75,75).html }}
</li>
{% endfor %}
</ul>
This will get all the images associated with a page and print them out in a list.