migrate katex styles

This commit is contained in:
Aaron Qian 2022-11-14 15:24:28 -08:00 committed by Aaron Qian
parent bc5baf8277
commit 4b512c3b07
No known key found for this signature in database
GPG key ID: BF1A987C395B5B0E
5 changed files with 7 additions and 22 deletions

View file

@ -18,4 +18,10 @@ syntaxhighlight:
services:
hljs:
styles:
- highlight.js/scss/atom-one-dark
- highlight.js/scss/atom-one-dark
math:
services:
katex:
styles:
- katex/dist/katex

View file

@ -181,11 +181,3 @@
{{ end }}
</section>
{{ end }}
{{ define "scripts" }}
<!-------------- Enable Math support for this page ---------------->
{{ if site.Params.features.math.enable }}
{{ partial "math.html" . }}
{{ end }}
{{ end }}

View file

@ -46,9 +46,3 @@
</div>
</section>
{{ end }}
{{ define "scripts" }}
{{ if site.Params.features.math.enable }}
{{ partial "math.html" . }}
{{ end }}
{{ end }}

View file

@ -36,9 +36,3 @@
</div>
</section>
{{ end }}
{{ define "scripts" }}
{{ if site.Params.features.math.enable }}
{{ partial "math.html" . }}
{{ end }}
{{ end }}

View file

@ -1 +0,0 @@
<link rel="stylesheet" href="{{ "/katex/katex.min.css" | relURL }}">