Skip to content

Commit

Permalink
Change argument ordering in v1 block
Browse files Browse the repository at this point in the history
  • Loading branch information
filvuk authored Oct 12, 2024
1 parent e99d58e commit 7e3cf6c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) }}
Expand Down

0 comments on commit 7e3cf6c

Please # to comment.