diff --git a/modules/blox-bootstrap/layouts/partials/blocks/portfolio.html b/modules/blox-bootstrap/layouts/partials/blocks/portfolio.html index 5d9427a4e..dd01ae2cb 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)) }} diff --git a/modules/blox-bootstrap/layouts/partials/blocks/v1/portfolio.html b/modules/blox-bootstrap/layouts/partials/blocks/v1/portfolio.html index a76aa5d0d..391b8664f 100644 --- a/modules/blox-bootstrap/layouts/partials/blocks/v1/portfolio.html +++ b/modules/blox-bootstrap/layouts/partials/blocks/v1/portfolio.html @@ -17,7 +17,7 @@ {{ if $block.Params.content.filter_button }} - {{ $filter_default := default (int $block.Params.content.filter_default) 0 }} + {{ $filter_default := default 0 (int $block.Params.content.filter_default) }} {{/* Parse default filter tag from front matter in the form of either tag name or CSS class name. */}} {{ $default_filter_item := (index $block.Params.content.filter_button ($filter_default)) }}