I came here looking for help trying add some images to the space next to the story itself. I have managed to get the index.md in the content/posts/post-name directory working as it were a content/posts/post-name.md.
A theme I am using hugo-cards theme displays the image pointed to by img in the front matter in the page listing. How do I tell that img is one of my page resources?
I moved your question to a new topic as the one you were replying to is 2 years old now.
The reason you cannot use page resources as the sidebar image is because the theme you are using constructs the img src urls with the assumption that your images are in static/images/. You can see that here and here.
You could either ask the theme maintainer to add code to support your use case, or you can overwrite the two files I linked to above yourself.
Yes, that’s fine, I am new to this and to this theme therefore I understand it is probably an unsupported feature in the theme itself.
But unfortunately the page resources documentation is extremely confusing to a beginner and this should be pointed out in the original thread; sadly the docs didn’t change much since that…