Docs
Team
Use the team content block to show a group of team members.
Overview
The team content block renders a group of team members.
yml
- _bookshop_name: team
heading:
title: Team
align: start
input:
section: team
reverse: false
sort: title
cols: 3
hide_empty: false
header_style: none
padding: 0
background:
color: body-tertiary
subtle: false
class: border-0 card-zoom card-body-margin
justify: startArguments
The content block supports the following arguments:
| Name | Type | Required | Default | Comment |
|---|---|---|---|---|
| _bookshop_name | string | Alias for _bookshop_name. | ||
| Alias for _bookshop_name. | ||||
| _ordinal | int | Zero-based position of the bookshop component within the page’s component hierarchy. | ||
| Zero-based position of the bookshop component within the page’s component hierarchy. | ||||
| background | background, string | Background style of the section. | ||
| Background style of the section. | ||||
| bg_class | string | Background class attributes of the element. It supports Bootstrap attributes to modify the background styling of the element. | ||
| Background class attributes of the element. It supports Bootstrap attributes to modify the background styling of the element. | ||||
| body_style | select | full |
Body components of the element. Supported values: [full, title, minimal, none]. |
|
Body components of the element. Supported values: [full, title, minimal, none]. |
||||
| class | string | Class attributes of the element. It supports Bootstrap attributes to modify the styling of the element. | ||
| Class attributes of the element. It supports Bootstrap attributes to modify the styling of the element. | ||||
| cols | int | 3 |
Number of grid columns. | |
| Number of grid columns. | ||||
| cover | bool | Flag indicating if the element should be rendered fullscreen. | ||
| Flag indicating if the element should be rendered fullscreen. | ||||
| fluid | bool | true |
Flag to set the section container to fluid design, else the section is limited to xxl. |
|
Flag to set the section container to fluid design, else the section is limited to xxl. |
||||
| footer_style | select | none |
Footer components of the element, displayed in small caps. Supported values: [full, publication, tags, none]. |
|
Footer components of the element, displayed in small caps. Supported values: [full, publication, tags, none]. |
||||
| header_style | select | full |
Header components of the element, displayed in small caps. Supported values: [full, publication, tags, none]. |
|
Header components of the element, displayed in small caps. Supported values: [full, publication, tags, none]. |
||||
| heading | Heading | Heading of the content block, including a preheading and content element. | ||
| Heading of the content block, including a preheading and content element. | ||||
| hide_empty | bool | Hides the entire section when no pages are available. | ||
| Hides the entire section when no pages are available. | ||||
| id | string | Unique identifier of the current element. | ||
| Unique identifier of the current element. | ||||
| input | Input | yes | List input of the element. Uses the name of the section to retrieve known pages. | |
| List input of the element. Uses the name of the section to retrieve known pages. | ||||
| justify | select | start |
Justification of the child elements. Supported values: [start, end, center, between, around, evenly]. |
|
Justification of the child elements. Supported values: [start, end, center, between, around, evenly]. |
||||
| limit | int | Maximum number of elements to display. | ||
| Maximum number of elements to display. | ||||
| more | More | When set for a card group, a button is added if the list exceeds the maximum number of cards to display. | ||
| When set for a card group, a button is added if the list exceeds the maximum number of cards to display. | ||||
| orientation | select | stacked |
Placement of the thumbnail or icon. Supported values: [stacked, horizontal, horizontal-sm, overlay, none]. |
|
Placement of the thumbnail or icon. Supported values: [stacked, horizontal, horizontal-sm, overlay, none]. |
||||
| overlay_mode | select | Overlay mode of the element, overrides the site’s general configuration. Supported values: [light, dark, none]. |
||
Overlay mode of the element, overrides the site’s general configuration. Supported values: [light, dark, none]. |
||||
| padding | int | 3 |
Padding of the content. | |
| Padding of the content. | ||||
| paginate | bool | Flag indicating if pagination should be added to the element, if the list exceeds the maximum number of containing elements to display. | ||
| Flag indicating if pagination should be added to the element, if the list exceeds the maximum number of containing elements to display. | ||||
| pagination | int | Number of elements per page in pagination, overrides site settings. | ||
| Number of elements per page in pagination, overrides site settings. | ||||
| section_class | string | Section class attributes of the element. It supports Bootstrap attributes to modify the section styling of the element. | ||
| Section class attributes of the element. It supports Bootstrap attributes to modify the section styling of the element. | ||||
| theme | select | Color theme to apply to the element. Supported values: [light, dark]. |
||
Color theme to apply to the element. Supported values: [light, dark]. |
||||
| width | int | 8 |
Column width of the element. For embedded elements, the width is relative to the parent’s container. | |
| Column width of the element. For embedded elements, the width is relative to the parent’s container. | ||||
| wrapper | string | Class attribute of the element’s wrapper. It supports Bootstrap attributes to modify the styling of the element. Icons include the fa-wrapper and fa-fluid attributes by default. |
||
Class attribute of the element’s wrapper. It supports Bootstrap attributes to modify the styling of the element. Icons include the fa-wrapper and fa-fluid attributes by default. |
||||
Background Type
| Name | Type | Required | Default | Comment |
|---|---|---|---|---|
| backdrop | string | Background image with a mask to improve contrast. | ||
| Background image with a mask to improve contrast. | ||||
| class | string | Class attributes of the element. It supports Bootstrap attributes to modify the styling of the element. | ||
| Class attributes of the element. It supports Bootstrap attributes to modify the styling of the element. | ||||
| color | select | Theme color of the element. Supported values: [primary, secondary, success, danger, warning, info, light, dark, white, black, body, body-tertiary]. |
||
Theme color of the element. Supported values: [primary, secondary, success, danger, warning, info, light, dark, white, black, body, body-tertiary]. |
||||
| subtle | bool | Apply subtle theme colors. | ||
| Apply subtle theme colors. | ||||
Heading Type
| Name | Type | Required | Default | Comment |
|---|---|---|---|---|
| align | select | start |
Alignment of the headline, content, or icon. Supported values: [start, center, end]. |
|
Alignment of the headline, content, or icon. Supported values: [start, center, end]. |
||||
| arrangement | select | above |
Arrangement of the preheading, either left or above the header. On smaller screens, the preheading is always placed on top. Supported values: [above, first]. |
|
Arrangement of the preheading, either left or above the header. On smaller screens, the preheading is always placed on top. Supported values: [above, first]. |
||||
| content | string, template.HTML | Section content displayed below the title. | ||
| Section content displayed below the title. | ||||
| preheading | string | Preheading of the section heading. | ||
| Preheading of the section heading. | ||||
| size | int | 4 |
Display size of the headline. | |
| Display size of the headline. | ||||
| title | string, hstring.RenderedString, hstring.HTML, template.HTML | Title of the element. If the element references a (local) page, the title overrides the referenced page’s title. | ||
| Title of the element. If the element references a (local) page, the title overrides the referenced page’s title. | ||||
| width | int | Column width of the element. For embedded elements, the width is relative to the parent’s container. | ||
| Column width of the element. For embedded elements, the width is relative to the parent’s container. | ||||
Input Type
| Name | Type | Required | Default | Comment |
|---|---|---|---|---|
| categories | string, slice | Categories to be used as filter. When set, only pages that belong to at least one of the provided categories are retrieved. | ||
| Categories to be used as filter. When set, only pages that belong to at least one of the provided categories are retrieved. | ||||
| keywords | string, slice | Keywords to be used as filter. When set, only pages that match at least one of the provided keywords are retrieved. | ||
| Keywords to be used as filter. When set, only pages that match at least one of the provided keywords are retrieved. | ||||
| nested | bool | If set, retrieves all pages below the section or current page recursively. By default, only first-order children are retrieved. | ||
| If set, retrieves all pages below the section or current page recursively. By default, only first-order children are retrieved. | ||||
| reverse | bool | true |
Sets the sort order to descending. | |
| Sets the sort order to descending. | ||||
| section | string | Name of the content section. | ||
| Name of the content section. | ||||
| sort | select | yes | Key to sort by. Supported values: [date, title, weight]. |
|
Key to sort by. Supported values: [date, title, weight]. |
||||
| tags | string, slice | Tags to be used as filter. When set, only pages that match at least one of the provided tags are retrieved. | ||
| Tags to be used as filter. When set, only pages that match at least one of the provided tags are retrieved. | ||||
More Type
| Name | Type | Required | Default | Comment |
|---|---|---|---|---|
| icon | string, uint64 | Icon to include. You can use shorthand notation such as fas sort to include a Font Awesome icon. The argument also supports files with an .svg or .json extension. |
||
Icon to include. You can use shorthand notation such as fas sort to include a Font Awesome icon. The argument also supports files with an .svg or .json extension. |
||||
| link | string, template.URL, url | Local page reference or external hyperlink address. | ||
| Local page reference or external hyperlink address. | ||||
| link-type | select | button |
Style of the link. Supported values: [button, link]. |
|
Style of the link. Supported values: [button, link]. |
||||
| title | string, hstring.RenderedString, hstring.HTML, template.HTML | Title of the element. If the element references a (local) page, the title overrides the referenced page’s title. | ||
| Title of the element. If the element references a (local) page, the title overrides the referenced page’s title. | ||||


