mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-23 18:10:52 +02:00
Change argument ordering in v1 block
This commit is contained in:
parent
e99d58e717
commit
7e3cf6c2ca
1 changed files with 1 additions and 1 deletions
|
@ -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)) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue