From a47ff107dbe0560a5ac6d3fd3ba521fb3899ff0f Mon Sep 17 00:00:00 2001
From: Andreas Deininger <andreas@deininger.net>
Date: Sun, 01 Dec 2024 20:44:46 +0000
Subject: [PATCH] Fix deprecation warning (#937)

---
 docs/configurations.md |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/docs/configurations.md b/docs/configurations.md
index 71a184c..50af129 100644
--- a/docs/configurations.md
+++ b/docs/configurations.md
@@ -111,7 +111,7 @@
 
 ## Syntax Highlight
 
-The theme uses the Goldmark syntax highlight system. GitHub light and dark are set as the default styles. To choose a different style, make sure `noClasses` is not set to false (default is true) and add to your `config.toml`:
+The theme uses the Goldmark syntax highlight system. GitHub light and dark are set as the default styles. To choose a different style, make sure `noClasses` is not set to false (default is true) and add to your `hugo.toml`:
 
 ```
 [markup.highlight]
@@ -146,7 +146,7 @@
 | commit                        | string | No       | Show the last git commit in the footer           |                                  | `"https://github.com/luizdepra/hugo-coder/tree/"`|
 | rtl                           | bool   | No       | Enable the Right To Left mode.                   | `false`                          | `true` or `false`                                |
 | math                          | bool   | No       | Enable MathJax Module and add JS into your site. | `false`                          | `true` or `false`                                |
-| katex                         | bool   | No       | Enable katex for all content types.              | `false`                          | `true` or `false`                                |
+| katex                         | bool   | No       | Enable KaTeX for all content types.              | `false`                          | `true` or `false`                                |
 | colorScheme                   | string | No       | Specify light/dark colorscheme                   | `"auto"`                         | `"auto"` or `"light"` or `"dark"`                |
 | hideColorSchemeToggle         | bool   | No       | If true, hides the color scheme toggle            | `false`                          | `true` or `false`                                |
 | customCSS                     | list   | No       | Add extra CSS files to the website.              | []                               | `["css/extra-style.css"]`                        |
@@ -270,11 +270,13 @@
 languagecode = "en"
 defaultcontentlanguage = "en"
 
-paginate = 20
+
+[pagination]
+pagerSize = 20
 
 [services]
 [services.disqus]
-disqusShortname = "yourdiscussshortname"
+shortname = "yourdiscussshortname"
 
 [markup.highlight]
 style = "github-dark"
@@ -357,8 +359,8 @@
 | externalLink     | string | No       | Link to an external post.                          |         | `"https://github.com/luizdepra/hugo-coder/wiki"`                                |
 | featuredImage    | string | No       | Link/path to add an image below post metadata.     |         | `"https://github.com/luizdepra/hugo-coder/blob/master/images/screenshot.png"`   |
 | math             | bool   | No       | If true, MathJax is enabled only for this post.    | `false` | `true` or `false`                                                               |
-| katex            | bool   | No       | If true, katex is enabled only for this post.      | `false` | `true` or `false`                                                               |
+| katex            | bool   | No       | If true, KaTeX is enabled only for this post.      | `false` | `true` or `false`                                                               |
 | disableComments  | bool   | No       | If true, comments are disabled.                    | `false` | `true` or `false`                                                               |
 | canonicalUrl     | string | No       | Link to override <link rel="canonical"/> in <head> | `false` | `"https://my-company.com/blog/my-blog-post-that-I-repost-without-hurtiong-seo"` |
 
-> "tags", "categories", "series" and "authors" are taxonomies defined in the `config.toml` file.
+> "tags", "categories", "series" and "authors" are taxonomies defined in the `hugo.toml` file.

--
Gitblit v1.10.0