mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 15:41:17 -04:00
feat: make cards as partial (#474)
This commit is contained in:
@ -1,5 +1,3 @@
|
||||
{{- $cols := .Get "cols" | default 3 -}}
|
||||
|
||||
<div class="hextra-cards hx-mt-4 hx-gap-4 hx-grid not-prose" style="--hextra-cards-grid-cols: {{ $cols }};">
|
||||
{{- .Inner -}}
|
||||
</div>
|
||||
{{- partial "shortcodes/cards" (dict "cols" $cols "content" .Inner) -}}
|
||||
|
Reference in New Issue
Block a user