diff --git a/src/Bricks/Model/BrickView.php b/src/Bricks/Model/BrickView.php index 558bce3..98ac810 100644 --- a/src/Bricks/Model/BrickView.php +++ b/src/Bricks/Model/BrickView.php @@ -7,9 +7,9 @@ class BrickView public string $name; public string $id; - /** @var array */ - public array $tags; - /** @var array */ public array $pageFullPaths; + + /** @var array */ + public array $additionalCols; } diff --git a/templates/bricks/default.html.twig b/templates/bricks/default.html.twig index 8023c55..48be444 100644 --- a/templates/bricks/default.html.twig +++ b/templates/bricks/default.html.twig @@ -30,37 +30,32 @@ } -
- + {% for columnHeader in brick.additionalCols %} + + {% endfor %} {% for brick in bricks %} - + {% for columnHeader, columnValue in brick.additionalCols %} + + {% endfor %} {% endfor %}