From e99d58e71742548fbb41f0cad18792e5e5ee467f Mon Sep 17 00:00:00 2001 From: Filip Vukelic <136091729+filvuk@users.noreply.github.com> Date: Wed, 9 Oct 2024 16:30:56 +0200 Subject: [PATCH] Fix argument ordering --- modules/blox-bootstrap/layouts/partials/blocks/portfolio.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blox-bootstrap/layouts/partials/blocks/portfolio.html b/modules/blox-bootstrap/layouts/partials/blocks/portfolio.html index 5d9427a4..dd01ae2c 100644 --- a/modules/blox-bootstrap/layouts/partials/blocks/portfolio.html +++ b/modules/blox-bootstrap/layouts/partials/blocks/portfolio.html @@ -17,7 +17,7 @@ {{ if $block.content.buttons }} - {{ $filter_default := default (int $block.content.default_button_index) 0 }} + {{ $filter_default := default 0 (int $block.content.default_button_index) }} {{/* Parse default filter tag from front matter in the form of either tag name or CSS class name. */}} {{ $default_filter_item := (index $block.content.buttons ($filter_default)) }}