Access page ressources from a list page

I have the following content:

post/
 |
 +->post-1/
 |  |
 |  +->index.en.md
 |  +->index.de.md
 |  +->header.jpeg
 |
 +->post-2/
    |
    +->index.en.md
    +->index.de.md
    +->header.jpeg

I can display the header image in the single page without problems with:
{{ with .Resources.GetMatch "header.jpeg" }}{{ . }}{{ end }}

Is it possible to access the resources (the header.jpeg in my case) inside list.html? I range over the pages and I can get the .Title, .Content and so on, but not the header.jpeg:

{{range where .Site.RegularPages "Section" "post" }}
???
{{ end }}

I guess that’s not possible? How would you solve that? Thanks for your time!

Hi there,

Combining the two should work:

{{range where .Site.RegularPages "Section" "post" }}
{{ with .Resources.GetMatch "header.jpeg" }}{{ . }}{{ end }}
{{ end }}

Awww, I missed adding .Permalink. This is what I wanted:

{{range where .Site.RegularPages "Section" "post" }}
{{ with .Resources.GetMatch "header.jpeg" }}
<img src="{{ .Permalink }}">
{{ end }}
{{ end }}

Thanks @pointyfar!