Commit 33d9586

HPCesia <me@hpcesia.com>
2026-03-15 08:57:22
Set language in Typst template
1 parent 26cef40
Changed files (1)
src
contents
src/contents/_lib/tybios.typ
@@ -2,7 +2,9 @@
 #import "components/fullwidth.typ": fullwidth
 #import "components/marginnote.typ": marginnote
 
-#let post-template(body) = {
+#let post-template(body, lang: "en", region: none) = {
+  set text(lang: lang, region: region)
+
   import "./mathyml/src/lib.typ": to-mathml
 
   import "./templates/blockquote.typ": blockquote-template