Erstmaliger Commit des website/-Unterprojekts (bisher nie versioniert). Enthält Inhalt/Konfiguration (content/, data/, i18n/, hugo.toml) sowie das vendorte Hextra-Theme; Build-Output (public/) und Lock-Datei bleiben über website/.gitignore ausgeschlossen.
12 lines
253 B
HTML
12 lines
253 B
HTML
{{- /*
|
|
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) -}}
|