I have a list page generated with layout/_default/list.html
All good so far.
If I want multiple list pages each almost the same but with a idiosyncratic paragraph at the top, where do I put that text?
In this example the art/
directory will have two sub-directories each with set of sub-directories each for a single art work. Currently there is only one so I can put the text in layouts/_default/list.html
but when I make the change to `art/ that will not work.
I tried the _index.md
in the art/
directory but that is not the correct place.
My content tree is like:
.
βββ _index.md
βββ about
β βββ who.md
βββ art
βββ Abc
β βββ Abc.png
β βββ index.md
βββ Kdg
β βββ Kdg.png
β βββ index.md
After the changeβ¦
.
βββ _index.md
βββ about
β βββ who.md
βββ art
βββ 2019
β βββ Abc
β β βββ Abc.png
β β βββ index.md
β βββ Kdg
β βββ Kdg.png
β βββ index.md
βββ 2020
β βββ Mam
β β βββ Mam.png
β β βββ index.md
β βββ Mum
β βββ Mum.jpg
β βββ index.md
βββ _index.md
Is this clear? The 2019/
and 2020
list templates (is that the correct term?) will each will need different content and the art/
list template will be completely different.
My layout tree is:
.
βββ _default
β βββ baseof.html
β βββ list.html
β βββ single.html
βββ about
β βββ single.html
βββ index.html
βββ partials
βββ date-and-tags.html
βββ head.html
βββ nav.html
βββ script.html
βββ style.html