Switch themes to minimo

This commit is contained in:
Dave Gallant
2021-09-06 11:55:05 -04:00
parent 75f9797c91
commit 4ff7aec7c1
302 changed files with 17841 additions and 607 deletions

View File

@@ -0,0 +1,16 @@
{{- $defaultKatex := .Site.Data.config.default.katex -}}
{{- $katex := ( or .Site.Data.config.katex $defaultKatex ) -}}
{{- if or ( eq .Params.katex true ) ( .HasShortcode "katex" ) -}}
<link rel='stylesheet' href='{{- $katex.library.css.main -}}'>
<script src='{{- $katex.library.js.main -}}'></script>
<script src='{{- $katex.library.js.autoRender -}}'></script>
<script type='text/javascript'>
renderMathInElement(document.querySelector('.entry-content'),
{{- $katex.options | jsonify | safeJS -}}
);
</script>
{{- end -}}