hugo-theme-relearn/layouts/shortcodes/expand.html
2024-09-01 13:57:50 +02:00

10 lines
No EOL
300 B
HTML

{{- $_hugo_config := `{ "version": 1 }` }}
{{- $id := "" }}
{{- partial "shortcodes/expand.html" (dict
"page" .Page
"content" .Inner
"open" (.Get "open" | default "")
"expanded" (.Get "expanded" | default (.Get 1))
"title" (.Get "title" | default (.Get 0))
"id" $id
) }}