mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-24 08:13:05 +00:00
9 lines
252 B
HTML
9 lines
252 B
HTML
|
{{- $context := .context }}
|
||
|
{{- $content := .content }}
|
||
|
{{- $align := .align | default "center" }}
|
||
|
{{- with $context }}
|
||
|
<span class="math align-{{ $align }}">
|
||
|
{{- $content | safeHTML -}}
|
||
|
</span>
|
||
|
{{- .Page.Store.Set "htmlHasMathJax" true }}
|
||
|
{{- end }}
|