{% set header %}
{% set cells %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a header cell in table header',
header: true,
} only %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a header cell in table header',
header: true,
} only %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a header cell in table header',
header: true,
} only %}
{% endset %}
{% include '@bolt-components-table/table-row.twig' with {
content: cells,
} only %}
{% endset %}
{% set row1 %}
{% set cells %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell.',
} only %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell.',
} only %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell.',
} only %}
{% endset %}
{% include '@bolt-components-table/table-row.twig' with {
content: cells,
} only %}
{% endset %}
{% set row2 %}
{% set cells %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell.',
} only %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell.',
} only %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell.',
} only %}
{% endset %}
{% include '@bolt-components-table/table-row.twig' with {
content: cells,
} only %}
{% endset %}
{% set row3 %}
{% set cells %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell.',
} only %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell.',
} only %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell.',
} only %}
{% endset %}
{% include '@bolt-components-table/table-row.twig' with {
content: cells,
} only %}
{% endset %}
{% set footer %}
{% set cells %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell in table footer.',
} only %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell in table footer.',
} only %}
{% include '@bolt-components-table/table-cell.twig' with {
content: 'This is a regular cell in table footer.',
} only %}
{% endset %}
{% include '@bolt-components-table/table-row.twig' with {
content: cells,
} only %}
{% endset %}
{% include '@bolt-components-table/table.twig' with {
header: {
content: header,
},
body: {
content: [
row1,
row2,
row3,
],
},
footer: {
content: footer,
},
caption: {
content: 'This is the table caption.',
},
} only %}