Move paige_math, paige_toc to paige object

This commit is contained in:
Will Faught
2022-12-18 02:44:01 -08:00
parent ed796f3cac
commit 9d6c08684d
5 changed files with 9 additions and 7 deletions

View File

@@ -3,7 +3,8 @@ author: Hugo Authors
title: Math Typesetting
date: 2019-03-08
description: A brief guide to setup KaTeX.
paige_math: true
paige:
math: true
---
Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
@@ -21,7 +22,7 @@ In this example we will be using [KaTeX](https://katex.org/)
{{ end }}
```
To enable KaTex on a per page basis include the parameter `paige_math: true` in content files
To enable KaTex on a per page basis include the parameter `paige.math: true` in content files
**Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)