Prevent page, show only in list

Hi,

is there a way to prevent a page type generating pages but only show the content in the list?

Best regards,
Richard

There’s an open issue for this: https://github.com/gohugoio/hugo/issues/3612

As a workaround you can either put layout:none in your front matter or, even hackier, add an empty template for the section.

Thank you, the workaround works fine for me!