Init
This commit is contained in:
6
themes/hextra/layouts/_partials/shortcodes/cards.html
Normal file
6
themes/hextra/layouts/_partials/shortcodes/cards.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{- $cols := .cols | default 3 -}}
|
||||
{{- $content := .content -}}
|
||||
|
||||
<div class="hextra-cards hx:mt-4 hx:gap-4 hx:grid not-prose" style="--hextra-cards-grid-cols: {{ $cols }};">
|
||||
{{- $content -}}
|
||||
</div>
|
||||
Reference in New Issue
Block a user