Initial check-in after refactoring to use Hugo site generator with ReLearn template. HTTP Status Codes page not done--nor adwords added.
This commit is contained in:
6
themes/relearn/layouts/shortcodes/mermaid.html
Normal file
6
themes/relearn/layouts/shortcodes/mermaid.html
Normal file
@@ -0,0 +1,6 @@
|
||||
{{- $_hugo_config := `{ "version": 1 }` }}
|
||||
{{- $align := .Get "align" | default "center" }}
|
||||
<div class="mermaid" align="{{ $align }}">
|
||||
{{- safeHTML .Inner -}}
|
||||
</div>
|
||||
{{- .Page.Store.Set "htmlHasMermaid" true }}
|
||||
Reference in New Issue
Block a user