mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-02-20 02:30:09 +00:00

- supply named parameter if missing #260 - fix boolean parameter if given as string #261 - revise documentation
6 lines
No EOL
212 B
HTML
6 lines
No EOL
212 B
HTML
{{- $_hugo_config := `{ "version": 1 }` }}
|
|
{{- $align := .Get "align" | default "center" }}
|
|
<div class="mermaid" align="{{ $align }}">
|
|
{{- safeHTML .Inner -}}
|
|
</div>
|
|
{{- .Page.Store.Set "htmlHasMermaid" true }} |