From 5794ddcc79783a3e205152bbbac6a8dd583696f7 Mon Sep 17 00:00:00 2001 From: ManInDark <61268856+ManInDark@users.noreply.github.com> Date: Sat, 17 Jan 2026 19:48:32 +0100 Subject: [PATCH] fix(#1824): replace config.yml with hugo.yaml (#1825) --- README.md | 2 +- content/posts/papermod/papermod-faq.md | 12 ++++++------ content/posts/papermod/papermod-features/index.md | 6 +++--- content/posts/papermod/papermod-installation.md | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index c0a964f1..61441f0e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Read Wiki => [hugo-PaperMod - Installation](https://github.com/adityatelange/hug ``` .(site root) ├── configTaxo.yml -├── config.yml +├── hugo.yaml ├── content │ ├── archives.fr.md │ ├── archives.md diff --git a/content/posts/papermod/papermod-faq.md b/content/posts/papermod/papermod-faq.md index 12bcccf3..15fc36e5 100644 --- a/content/posts/papermod/papermod-faq.md +++ b/content/posts/papermod/papermod-faq.md @@ -57,7 +57,7 @@ Why was the `asset` not loading ? : [How_browsers_handle_Subresource_Integrity]( **Solution:** -Set the following in `config.yml` +Set the following in `hugo.yaml` ```yml {linenos=true} params: @@ -81,7 +81,7 @@ Create folder in yout project directory as ``` .(site root) -├── config.yml +├── hugo.yaml ├── content/ ├── theme/hugo-PaperMod/ └── assets/ @@ -107,7 +107,7 @@ Custom css/js can be added by way mentioned below. ``` .(site root) -├── config.yml +├── hugo.yaml ├── content/ ├── theme/hugo-PaperMod/ └── layouts @@ -130,7 +130,7 @@ and contents of `extend_footer.html` will be added to bottom of page. You can add menu entries which will appear in the header of every page. -To do so, add a `menu` section to your site's `config.yml`: +To do so, add a `menu` section to your site's `hugo.yaml`: ```yml {linenos=true} menu: @@ -242,7 +242,7 @@ use `align=center` to center image with captions ## Using Hugo's Syntax highlighter "chroma" -1. Disable Highlight.js in site `config.yml` +1. Disable Highlight.js in site `hugo.yaml` ```yml {linenos=true} params: @@ -250,7 +250,7 @@ use `align=center` to center image with captions disableHLJS: true ``` -2. Set hugo's markdown styling in site `config.yml` +2. Set hugo's markdown styling in site `hugo.yaml` ```yml {linenos=true} markup: diff --git a/content/posts/papermod/papermod-features/index.md b/content/posts/papermod/papermod-features/index.md index 1af804e9..2455c63b 100644 --- a/content/posts/papermod/papermod-features/index.md +++ b/content/posts/papermod/papermod-features/index.md @@ -70,7 +70,7 @@ Create a page with `archive.md` in `content` directory with following content ```shell . -├── config.yml +├── hugo.yaml ├── content/ │ ├── archives.md <--- Create archive.md here │ └── posts/ @@ -162,7 +162,7 @@ params: PaperMod uses [Fuse.js Basic](https://fusejs.io/getting-started/different-builds.html#explanation-of-different-builds) for search functionality -Add the following to site config, `config.yml` +Add the following to site config, `hugo.yaml` ```yml {linenos=true,hl_lines=[5]} outputs: @@ -397,7 +397,7 @@ author: ["Me", "You"] --- ``` -To use Multiple Authors Site-wide, in `config.yml`: +To use Multiple Authors Site-wide, in `hugo.yaml`: ```yml params: diff --git a/content/posts/papermod/papermod-installation.md b/content/posts/papermod/papermod-installation.md index 2fb1250c..6f5c784d 100644 --- a/content/posts/papermod/papermod-installation.md +++ b/content/posts/papermod/papermod-installation.md @@ -108,7 +108,7 @@ Direct Links: hugo mod init YOUR_OWN_GIT_REPOSITORY ``` -- Add PaperMod in your `config.yml` file +- Add PaperMod in your `hugo.yaml` file ```go {linenos=true} module: @@ -128,7 +128,7 @@ Read more : [Hugo Docs's - HUGO MODULES](https://gohugo.io/hugo-modules/use-modu ### Finally set theme as PaperMod in your site config -In `config.yml` add: +In `hugo.yaml` add: ```yml {linenos=true} theme: ["PaperMod"] @@ -173,7 +173,7 @@ You can go through few videos which are available on YouTube for getting to know --- -## Sample `config.yml` +## Sample `hugo.yaml` > **Example Site Structure is present here**: [exampleSite](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/)