When accessing a Resource object through sitemap, is it possible to retrieve the content of the resource (specifically the rendered HTML from the Markdown content)?
I have several files with layout: post specified in the frontmatter. They’re all located in /posts, and are composed of YAML frontmatter and Markdown content. I want to render their content in two templates: once in a post.erb template and again in a posts.erb template that (as you’ve probably guessed) renders the content of the entire post. One problem, however, is that I don’t want to just render the post.erb template several times, but instead access the content.