Docs
About
Use the about content block to display a lead text next to a featured illustration.
Overview
The about content block renders a short message next to an illustration. You can add optional links or buttons below the message.
Image First
Set order to first to show the illustration before the heading.
Preheading
Heading
Content

yml
- _bookshop_name: about
heading:
preheading: Preheading
title: Heading
content: Content
align: start
background:
color: body-tertiary
subtle: false
illustration:
image: /img/placeholder.png
ratio: 1x1
order: firstImage Last
Set order to last to show the illustration after the heading.
Preheading
Heading
Content

yml
- _bookshop_name: about
heading:
preheading: Preheading
title: Heading
content: Content
align: start
background:
color: body-tertiary
subtle: false
illustration:
image: /img/placeholder.png
ratio: 1x1
order: lastLinks
Set link-type to link to add links below the content.

yml
- _bookshop_name: about
heading:
title: Heading
content: Content
align: start
background:
color: body-tertiary
subtle: false
illustration:
image: /img/placeholder.png
ratio: 1x1
order: first
link-type: link
links:
- title: First link
url: #!
icon: chevron-right
force: true
- title: Second link
url: https://google.comButtons
Set link-type to button to add buttons below the content. You can adjust the style of the button by setting outline to true.

yml
- _bookshop_name: about
heading:
title: Heading
content: Content
align: start
background:
color: body-tertiary
subtle: false
illustration:
image: /img/placeholder.png
ratio: 1x1
order: first
link-type: button
links:
- title: Primary button
url: #!
icon: chevron-right
force: true
- title: Outline button
url: https://google.com
outline: trueArguments
The content block supports the following arguments:
| Name | Type | Required | Default | Comment |
|---|---|---|---|---|
| _bookshop_name | string | Alias for _bookshop_name. | ||
| _ordinal | int | Zero-based position of the bookshop component within the page’s component hierarchy. | ||
| background | background, string | Background style of the section. | ||
| cover | bool | true |
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. |
|
| heading | Heading | Heading of the content block, including a preheading and content element. | ||
| id | string | Unique identifier of the current element. | ||
| illustration | Illustration | Featured illustration of the element. | ||
| justify | select | start |
Justification of the child elements. Supported values: [start, end, center, between, around, evenly]. |
|
| link_type | select | button |
Style of the link. Supported values: [button, link]. |
|
| links | links, []map[string]interface {} | Links to add as buttons. | ||
| order | select | last |
Order of the illustration. Supported values: [first, last]. |
|
| theme | select | 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. |
| Name | Type | Required | Default |
|---|---|---|---|
| _bookshop_name | string | ||
| Alias for _bookshop_name. | |||
| _ordinal | int | ||
| Zero-based position of the bookshop component within the page’s component hierarchy. | |||
| background | background, string | ||
| Background style of the section. | |||
| cover | bool | true |
|
| 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. |
|||
| heading | Heading | ||
| Heading of the content block, including a preheading and content element. | |||
| id | string | ||
| Unique identifier of the current element. | |||
| illustration | Illustration | ||
| Featured illustration of the element. | |||
| justify | select | start |
|
Justification of the child elements. Supported values: [start, end, center, between, around, evenly]. |
|||
| link_type | select | button |
|
Style of the link. Supported values: [button, link]. |
|||
| links | links, []map[string]interface {} | ||
| Links to add as buttons. | |||
| order | select | last |
|
Order of the illustration. Supported values: [first, last]. |
|||
| theme | select | ||
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. | |||
Background Type
| Name | Type | Required | Default | Comment |
|---|---|---|---|---|
| backdrop | string | 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. | ||
| color | select | 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. |
| Name | Type | Required | Default |
|---|---|---|---|
| backdrop | string | ||
| 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. | |||
| color | select | ||
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. | |||
Heading Type
| Name | Type | Required | Default | Comment |
|---|---|---|---|---|
| align | select | start |
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]. |
|
| content | string, template.HTML | Section content displayed below the title. | ||
| preheading | string | Preheading of the section heading. | ||
| size | int | 4 |
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. | ||
| width | int | 8 |
Column width of the element. For embedded elements, the width is relative to the parent’s container. |
| Name | Type | Required | Default |
|---|---|---|---|
| align | select | start |
|
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]. |
|||
| content | string, template.HTML | ||
| Section content displayed below the title. | |||
| preheading | string | ||
| Preheading of the section heading. | |||
| size | int | 4 |
|
| 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. | |||
| width | int | 8 |
|
| Column width of the element. For embedded elements, the width is relative to the parent’s container. | |||
Illustration Type
| Name | Type | Required | Default | Comment |
|---|---|---|---|---|
| anchor | select | Anchor of the image’s crop box, defaults to anchor value set in imaging section of the site configuration (usually Smart). Supported values: [TopLeft, Top, TopRight, Left, Center, Right, BottomLeft, Bottom, BottomRight, Smart]. |
||
| caption | string | Caption of the carousel slide or illustration. | ||
| caption-url | string, template.URL | Address of the caption destination, either a local reference or an external address. Include the scheme when referencing an external address, such as https://google.com. Local references may include an optional anchor link such as blog/bootstrap-elements/#docs. |
||
| class | string | Class attributes of the element. It supports Bootstrap attributes to modify the styling of the element. | ||
| hook | string | Render hook for the element’s partial. | ||
| 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. |
||
| image | string | Image to include in the content block or section heading. | ||
| image-overlay | bool | Trigger to include an image overlay placeholder. | ||
| justify | select | start |
Justification of the child elements. Supported values: [start, end, center, between, around, evenly]. |
|
| mode | bool | Flag indicating if the media asset should support color modes. If set, the element searches for images having a matching color-mode suffix such as -light or -dark. |
||
| ratio | select | Ratio of the media asset. When the asset is an image, it is resized and cropped (not applicable to vector graphics). For video assets, the padding of the embedded frame is adjusted. When set to auto, the original aspect ratio is used. Supported values: [1x1, 3x2, 4x3, 16x9, 21x9, auto]. |
||
| width | int | 8 |
Column width of the element. For embedded elements, the width is relative to the parent’s container. |
| Name | Type | Required | Default |
|---|---|---|---|
| anchor | select | ||
Anchor of the image’s crop box, defaults to anchor value set in imaging section of the site configuration (usually Smart). Supported values: [TopLeft, Top, TopRight, Left, Center, Right, BottomLeft, Bottom, BottomRight, Smart]. |
|||
| caption | string | ||
| Caption of the carousel slide or illustration. | |||
| caption-url | string, template.URL | ||
Address of the caption destination, either a local reference or an external address. Include the scheme when referencing an external address, such as https://google.com. Local references may include an optional anchor link such as blog/bootstrap-elements/#docs. |
|||
| class | string | ||
| Class attributes of the element. It supports Bootstrap attributes to modify the styling of the element. | |||
| hook | string | ||
| Render hook for the element’s partial. | |||
| 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. |
|||
| image | string | ||
| Image to include in the content block or section heading. | |||
| image-overlay | bool | ||
| Trigger to include an image overlay placeholder. | |||
| justify | select | start |
|
Justification of the child elements. Supported values: [start, end, center, between, around, evenly]. |
|||
| mode | bool | ||
Flag indicating if the media asset should support color modes. If set, the element searches for images having a matching color-mode suffix such as -light or -dark. |
|||
| ratio | select | ||
Ratio of the media asset. When the asset is an image, it is resized and cropped (not applicable to vector graphics). For video assets, the padding of the embedded frame is adjusted. When set to auto, the original aspect ratio is used. Supported values: [1x1, 3x2, 4x3, 16x9, 21x9, auto]. |
|||
| width | int | 8 |
|
| Column width of the element. For embedded elements, the width is relative to the parent’s container. | |||
Links Type
| Name | Type | Required | Default | Comment |
|---|---|---|---|---|
| download | string | Path to the download file, relative to the site’s static folder. | ||
| force | bool | Flag to indicate a link should bypass any language redirection. Only applicable when the site param enableLanguageSelectionStorage is set to true. When force is true, the link to a local page is kept as is. |
||
| 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. |
||
| order | select | last |
Order of the illustration. Supported values: [first, last]. |
|
| 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. | ||
| url | string, template.URL | Address of the link destination, either a local reference or an external address. Include the scheme when referencing an external address, such as https://google.com. Local references may include an optional anchor link such as blog/bootstrap-elements/#docs. |
| Name | Type | Required | Default |
|---|---|---|---|
| download | string | ||
| Path to the download file, relative to the site’s static folder. | |||
| force | bool | ||
Flag to indicate a link should bypass any language redirection. Only applicable when the site param enableLanguageSelectionStorage is set to true. When force is true, the link to a local page is kept as is. |
|||
| 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. |
|||
| order | select | last |
|
Order of the illustration. Supported values: [first, last]. |
|||
| 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. | |||
| url | string, template.URL | ||
Address of the link destination, either a local reference or an external address. Include the scheme when referencing an external address, such as https://google.com. Local references may include an optional anchor link such as blog/bootstrap-elements/#docs. |
|||