mirror of
https://github.com/imfing/hextra.git
synced 2025-08-24 21:06:39 -04:00
docs: add documentation on all shortcodes (#753)
This commit is contained in:

committed by
GitHub

parent
80ada64da0
commit
2033d50005
@@ -1,3 +1,12 @@
|
||||
{{- /*
|
||||
A shortcode for displaying a feature grid.
|
||||
|
||||
@param {string} cols The number of columns.
|
||||
@param {string} style The style of the grid.
|
||||
|
||||
@example {{< hextra/feature-grid cols="3" >}}{{< /hextra/feature-grid >}}
|
||||
*/ -}}
|
||||
|
||||
{{- $cols := .Get "cols" | default 3 -}}
|
||||
{{- $style := .Get "style" | default "" -}}
|
||||
|
||||
|
Reference in New Issue
Block a user