mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 18:31:16 -04:00
feat: add shortcodes to build Hextra home page (#90)
* feat: add feature grid and card shortcodes * feat: add markdown content to hextra home * chore: add button for hextra home * chore: add heading and subtitle * chore: finish moving hextra home to shortcodes * chore: regenerate css * chore: improve hextra home layout shortcodes * chore: update css * chore: decrease button size
This commit is contained in:
9
layouts/shortcodes/hextra/feature-grid.html
Normal file
9
layouts/shortcodes/hextra/feature-grid.html
Normal file
@ -0,0 +1,9 @@
|
||||
{{- $style := .Get "style" -}}
|
||||
|
||||
|
||||
<div
|
||||
class="grid sm:grid-cols-2 lg:grid-cols-3 grid-cols-1 gap-4 w-full"
|
||||
{{ with $style }}style="{{ . | safeCSS }}"{{ end }}
|
||||
>
|
||||
{{ .Inner }}
|
||||
</div>
|
Reference in New Issue
Block a user