switch to new theme due to old theme not liking newer versions. New theme seems kick-arse, however

This commit is contained in:
Don Harper 2019-08-17 19:36:46 -05:00
parent 1909ea34ea
commit e3ac8b96f5
531 changed files with 147790 additions and 66 deletions

View file

@ -0,0 +1,8 @@
{{ if or (hasPrefix .Inner "\n") (hasPrefix .Inner "<p>") }}
<div class="math">\[
{{- $inner := replace .Inner "\\<br />\n" "\\\\" -}}
{{- $inner := replace $inner "<p>" "<p>\\[" -}}
{{- $inner := replace $inner "</p>" "\\]<p>" -}}
{{ trim $inner "\n" }}
\]</div>
{{- else -}}<span class="math">\( {{ trim .Inner "\n" }} \)</span>{{- end -}}