mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 17:53:07 +00:00
8551ee2738
- 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 }} |