From 8ef1756dfe2e61f983ccf60685ee3497563e9f80 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Mon, 4 Mar 2024 14:12:55 +0100 Subject: [PATCH] feat(deps): upgrade KaTeX to `0.16.9` (#168) - rename config file from config.* to hugo.* --- .../content/de/posts/math-typesetting/index.md | 4 ++-- .../content/en/posts/math-typesetting/index.md | 4 ++-- .../content/it/posts/math-typesetting/index.md | 4 ++-- .../content/ru/posts/math-typesetting/index.md | 4 ++-- layouts/partials/helpers/katex.html | 12 ++++++------ 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/exampleSite/content/de/posts/math-typesetting/index.md b/exampleSite/content/de/posts/math-typesetting/index.md index 8e1996a..7d14365 100644 --- a/exampleSite/content/de/posts/math-typesetting/index.md +++ b/exampleSite/content/de/posts/math-typesetting/index.md @@ -15,12 +15,12 @@ In this example we will be using [KaTeX](https://katex.org/). - To enable KaTeX globally, set the parameter `math` to `true` in a project's configuration file as follows. - - `config.toml` + - `hugo.toml` ```toml [params] math = true ``` - - `config.yaml` + - `hugo.yaml` ```yaml params: math: true diff --git a/exampleSite/content/en/posts/math-typesetting/index.md b/exampleSite/content/en/posts/math-typesetting/index.md index 8e1996a..7d14365 100644 --- a/exampleSite/content/en/posts/math-typesetting/index.md +++ b/exampleSite/content/en/posts/math-typesetting/index.md @@ -15,12 +15,12 @@ In this example we will be using [KaTeX](https://katex.org/). - To enable KaTeX globally, set the parameter `math` to `true` in a project's configuration file as follows. - - `config.toml` + - `hugo.toml` ```toml [params] math = true ``` - - `config.yaml` + - `hugo.yaml` ```yaml params: math: true diff --git a/exampleSite/content/it/posts/math-typesetting/index.md b/exampleSite/content/it/posts/math-typesetting/index.md index 3310539..f398172 100644 --- a/exampleSite/content/it/posts/math-typesetting/index.md +++ b/exampleSite/content/it/posts/math-typesetting/index.md @@ -15,12 +15,12 @@ In questo esempio utilizzeremo [KaTeX](https://katex.org/). - Per abilitare KaTeX a livello globale, impostate il parametro `math` a `true` nella configurazione di un progretto come segue. - - `config.toml` + - `hugo.toml` ```toml [params] math = true ``` - - `config.yaml` + - `hugo.yaml` ```yaml params: math: true diff --git a/exampleSite/content/ru/posts/math-typesetting/index.md b/exampleSite/content/ru/posts/math-typesetting/index.md index 96fe491..fb1838e 100644 --- a/exampleSite/content/ru/posts/math-typesetting/index.md +++ b/exampleSite/content/ru/posts/math-typesetting/index.md @@ -14,12 +14,12 @@ math: true В этом примере, мы будем использовать [KaTeX](https://katex.org/). - Для включения KaTeX глобально, установите параметр `math` в `true` в конфигурационный файл проекта в формате, который вы используете. - - `config.toml` + - `hugo.toml` ```toml [params] math = true ``` - - `config.yaml` + - `hugo.yaml` ```yaml params: math: true diff --git a/layouts/partials/helpers/katex.html b/layouts/partials/helpers/katex.html index 178225b..c489e11 100644 --- a/layouts/partials/helpers/katex.html +++ b/layouts/partials/helpers/katex.html @@ -1,14 +1,14 @@ - + - -