diff --git a/exampleSite/content/blog/math-typesetting.md b/exampleSite/content/blog/math-typesetting.md index 65b13bf8..fa6bf2bc 100644 --- a/exampleSite/content/blog/math-typesetting.md +++ b/exampleSite/content/blog/math-typesetting.md @@ -16,7 +16,7 @@ In this example we will be using [KaTeX](https://katex.org/) - Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally. - Include the partial in your templates like so: -```bash +``` {{ if or .Params.math .Site.Params.math }} {{ partial "math.html" . }} {{ end }}