Create listPost parameter for frontmatter to determine how a post displays in list view
-
listPost parameter that can be set in section index (to cascade to all post’s in that section) -
or in post’s individual frontmatter (which will override the section’s index frontmatter) -
default to "summary" (post title, summary + read more link) -
option for "photo" (just thumbnail, no title) -
option for "content" (post title and full content, no read more link) -
option for "custom" (custom display is empty template in theme which can be overridden in individual’s .hugo/layouts/
folder -
option for "thumbnail" (thumbnail, title, summary + read more link) - replaces current "thumbnail: true"
frontmatter