I’m confused. The documentation says the home page can be a branch bundle. According to the docs the name of the index file in branch bundles should be _index.md. You were talking about renaming the index file “_index.md” in content to “index.html”, am I right? Could you elaborate on your answer? Thanks again for your help.
As per the repo /a/index.md is a regular page. To fetch its resource img-in-a.png on the homepage first you need to call the regular pages page group with something like range .Site.RegularPages and then within this context you can fetch the image resource more-or-less as mentioned above.
To limit the scope of the page group I would suggest that you filter it by a parameter or anything else that suits your project’s needs.