From 3e4f96058e4863341d362155a6a93399a83cb64e Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 26 Jun 2024 21:21:37 -0700 Subject: [PATCH] Restore original math typesetting content --- exampleSite/content/content/math-typesetting.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/content/math-typesetting.md b/exampleSite/content/content/math-typesetting.md index 9d21a572..22f1f634 100644 --- a/exampleSite/content/content/math-typesetting.md +++ b/exampleSite/content/content/math-typesetting.md @@ -44,12 +44,13 @@ In this example we will be using [KaTeX](https://katex.org/) - Include the partial in your templates like so: ``` -{{ if .Params.paige.math }} +{{ if or .Params.math .Site.Params.math }} {{ partial "math.html" . }} {{ end }} ``` -To enable KaTex on a per page basis include the parameter `paige.math: true` in content files +- To enable KaTeX globally set the parameter `math` to `true` in a project's configuration +- To enable KaTeX on a per page basis include the parameter `math: true` in content files **Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)