@royston thanks !
That is basically really close to what I’m doing right now so looks like I’m on the right track.
I would still prefer to use GO logic right in the content file itself (or just render the template directly without a content file). Not sure why having multiple pages render like the homepage would be a bad thing, but for some reason Hugo has decided not to go that way.
That method still requires that you do:
content/my_awesome_page.html
AND
layouts/my_awesome_page_type/single.html
instead of just:
content/my_awesome_page.html
(exclusive) OR
layouts/my_awesome_page.html
The good news in that is the type=something, layout=something1
trick which allows for better organisation of template files. If I understand correctly, no more need to do:
layouts/type1/single.html
layouts/type2/single.html
layouts/type3/single.html
but now I can
layouts/type/page1.html
layouts/type/page2.html
layouts/type/page3.html
correct ?