Hi all,
I have folders for each year of the last century ( 1900, 1901 … 1999). In the folders I have a index.md with a short summary of what happend in this year. It it display by default when you access the folder like this:
www.example.com/1968/
In the folder I collect shortstories which refers to the year.
1968/index.md 1968/shortstory1.md 1968/shortstory2.md
I would like to display the contents of folder 1968
on the page rendered by index.md
Would you do it with a shortcode.
In index.md:
{{< toc >}}
How can I access the contents of the current folder in the shortcode itself?
TIA