Hugo-based levitation.wales initial commit

This commit is contained in:
2026-09-04 13:48:04 +01:00
commit 74e7c4b3ed
55 changed files with 982 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
{{- /* Render $...$ and $$...$$ math to native MathML via Hugo's built-in KaTeX.
No JavaScript or CDN dependency. */ -}}
{{- $opts := dict "output" "mathml" -}}
{{- if eq .Type "block" -}}
{{- $opts = merge $opts (dict "displayMode" true) -}}
{{- end -}}
{{- transform.ToMath .Inner $opts -}}