I am stuck on a basic feature and would love to get some help. I wish to display in the recherche/index.md, the list of the articles in the recherche file so every time another article is added as an md file, it can be displayed. I am guessing I need a slice to gather all md file from the recherche folder and range over to display it but I’m not sure.
The repo: Creatip/content/recherche at bw-design · Discopigeononline/Creatip · GitHub
Rename index.md to _index.md to change the directory from a leaf bundle to a branch bundle, then create a list page layout that iterates through the pages.
layouts/_default/list.html
OR
layouts/recherche/list.html
{{ range .Pages }}
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}