Skip to content

Twig API ​

Parameters ​

attr ​

  • Type: array

Customizes the root element attributes.

figure ​

  • Type: Figure

Customizes the figure element.

figure_attr ​

  • Type: array

Customizes the figure element attributes.

content_attr ​

  • Type: array

Customizes the content element attributes.

content_position ​

  • Type: string

Customizes the content position attributes.

surtitle_tag ​

  • Type: string

Customizes the surtitle tag.

surtitle_attr ​

  • Type: array

Customizes the surtitle element attributes.

title_tag ​

  • Type: string

Customizes the title tag.

title_attr ​

  • Type: array

Customizes the title element attributes.

description_tag ​

  • Type: string

Customizes the description tag.

description_attr ​

  • Type: array

Customizes the description element attributes.

actions_attr ​

  • Type: array

Customizes the actions element attributes.

Blocks ​

before ​

Adds content before the component's content.

background ​

Sets the background.

content ​

Sets the hero's content.

surtitle ​

Sets the surtitle content.

title ​

Sets the title content.

description ​

Sets the description content.

actions ​

Sets the actions content.

after ​

Adds content after the component's content.