Collection Sections - Hugo Blox
Add a page collection to your page. Choose from many different listing views to display your pages within the section - simply set the
view option within the Collection blox.
--- title: My page type: landing sections: - block: collection id: posts content: title: Recent Posts subtitle: '' text: 'Check out my recent blog posts below!' # Choose how many pages you would like to display (0 = all pages) count: 5 # Filter on criteria filters: # The folders to display content from folders: - post author: "" category: "" tag: "" publication_type: "" featured_only: false exclude_featured: false exclude_future: false exclude_past: false # Choose how many pages you would like to offset by # Useful if you wish to show the first item in the Featured widget offset: 0 # Field to sort by, such as Date or Title sort_by: 'Date' sort_ascending: false design: # Choose a listing view view: card ---