Initial commit: Rapport Website (Hugo + Hextra)
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{{- /*
|
||||
A shortcode for creating cards.
|
||||
|
||||
@param {string} cols The number of columns.
|
||||
|
||||
@example {{< cards cols="3" >}}{{< /cards >}}
|
||||
*/ -}}
|
||||
|
||||
{{- $cols := .Get "cols" | default 3 -}}
|
||||
|
||||
{{- partial "shortcodes/cards" (dict "cols" $cols "content" .Inner) -}}
|
||||
Reference in New Issue
Block a user