First of, thanks for creating this excellent bit of software. I forgot how much I liked writing because I used to spend all my time fighting the tools.
I have a section list template that I have written that pulls some keys out of the front matter of all the pages in that section, and renders them into a table. So far so good, but I want to have a bit of text at the top of the page explaining what the table represents. Is it possible to write that text in a content markdown file and have the template render it out, or do I have to fall back to having content as HTML in the template?
I donāt think there is a GH issue simply because itās not a trivial fix. See Node Improvements for a discussion of the topic. If youāre new to Go, Iād suggest starting with something smaller.
We tag some of our GH issues with experience-level tags. See the beginner issues.
I was in a similar situation and just abused content types for that on my frontpage. I just created a post with a unique type and used .Data.Pages with some filtering to just fetch that one post for rendering. You can find an example here
Thanks! I ended up implementing a variant of this. Template has two loops, one that renders out all pages in the section with the type ā_headerā, and the other that renders out everything that isnāt ā_headerā.
Awesome. Thanks for sharing! Iām currently evaluating Hugo and the āmarkdown in a section list pageā issue was something that was kind of a blocker for me. Your solution is however elegant and easy to implement. So thanks again!