added list level cardView control

This commit is contained in:
Nuno Coração 2022-11-11 17:14:05 +00:00
parent 963b79e1aa
commit 5b93191548

View file

@ -152,7 +152,7 @@
</section> </section>
{{ if gt .Pages 0 }} {{ if gt .Pages 0 }}
{{ if .Site.Params.list.cardView | default false }} {{ if .Params.cardView | default (.Site.Params.list.cardView | default false) }}
{{ $cardViewScreenWidth := .Site.Params.list.cardViewScreenWidth}} {{ $cardViewScreenWidth := .Site.Params.list.cardViewScreenWidth}}