fix katex, 1 new shortcode, various fixes

This commit is contained in:
loikein 2023-04-14 19:21:10 +01:00
commit e6d583a987
9 changed files with 90 additions and 46 deletions
layouts/_default

View file

@ -1,9 +1,15 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
{{- partial "header.html" . -}}
{{- partial "header.html" . -}}
<body >
{{ block "main" . }}{{ end }}
</body>
<body >
{{ block "main" . }}{{ end }}
</html>
<!-- Load Katex, if necessary. -->
{{ if or .Params.math .IsHome }}
{{ partial "math.html" . }}
{{ end }}
</body>
</html>