starters: add publication_type filter example

This commit is contained in:
George Cushen 2024-05-13 20:33:55 +01:00
commit 3fa4435e55
2 changed files with 17 additions and 4 deletions

View file

@ -55,7 +55,20 @@ sections:
spacing: spacing:
padding: ['20px', '0', '20px', '0'] padding: ['20px', '0', '20px', '0']
css_class: fullscreen css_class: fullscreen
- block: collection
content:
title: Latest Preprints
text: ""
count: 5
filters:
folders:
- publication
publication_type: 'article'
design:
view: citation
columns: '1'
- block: markdown - block: markdown
content: content:
title: title:
@ -64,4 +77,4 @@ sections:
{{% cta cta_link="./people/" cta_text="Meet the team →" %}} {{% cta cta_link="./people/" cta_text="Meet the team →" %}}
design: design:
columns: '1' columns: '1'
--- ---

View file

@ -3,7 +3,7 @@ module github.com/wowchemy/starter-hugo-research-group
go 1.15 go 1.15
require ( require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.7 github.com/HugoBlox/hugo-blox-builder/modules/blox-bootstrap/v5 v5.9.8-0.20240513193311-41bd113535e8
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-decap-cms v0.1.2-0.20231108143325-448ed0e3bd2b github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-decap-cms v0.1.2-0.20231108143325-448ed0e3bd2b
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240509231741-c3d23d929bc6
) )