That would let me access in in the markdown content itself, right? I have that set-up and working correctly.
However, I’m asking if it’s possible in the 'list` (section) page? Check this page for example: https://v2--hrishikeshk.netlify.app/projects/. I have a user controlled slideshow working for the last 2 posts. It’s loading images like this:
<!-- Inside my range of posts -->
{{ range .Page.Resources.Match "img*.png" }} <!-- Loop through all images used in post -->
<li> <!-- Card slideshow image item -->
<img width = "1920" height = "1080" alt = "{{ . }}" data-src = "{{ .RelPermalink }}" uk-img> <!-- Card slideshow image/ -->
</li> <!-- /Card slideshow image item -->
{{ end }} <!-- /Loop through all images used in post -->
<!-- /Inside my range of posts -->
So, this is rendering the images in the section template. Right now, it accepts any image with the prefix img
, which is fine. But, I was wondering if I can use only the images used in the markdown content without them needing any prefix and then access the title
that I set using Markdown.