fix(#1824): replace config.yml with hugo.yaml (#1825)

This commit is contained in:
ManInDark
2026-01-17 19:48:32 +01:00
committed by GitHub
parent 3c8007f8ab
commit 5794ddcc79
4 changed files with 13 additions and 13 deletions

View File

@@ -11,7 +11,7 @@ Read Wiki => [hugo-PaperMod - Installation](https://github.com/adityatelange/hug
``` ```
.(site root) .(site root)
├── configTaxo.yml ├── configTaxo.yml
├── config.yml ├── hugo.yaml
├── content ├── content
│ ├── archives.fr.md │ ├── archives.fr.md
│ ├── archives.md │ ├── archives.md

View File

@@ -57,7 +57,7 @@ Why was the `asset` not loading ? : [How_browsers_handle_Subresource_Integrity](
**Solution:** **Solution:**
Set the following in `config.yml` Set the following in `hugo.yaml`
```yml {linenos=true} ```yml {linenos=true}
params: params:
@@ -81,7 +81,7 @@ Create folder in yout project directory as
``` ```
.(site root) .(site root)
├── config.yml ├── hugo.yaml
├── content/ ├── content/
├── theme/hugo-PaperMod/ ├── theme/hugo-PaperMod/
└── assets/ └── assets/
@@ -107,7 +107,7 @@ Custom css/js can be added by way mentioned below.
``` ```
.(site root) .(site root)
├── config.yml ├── hugo.yaml
├── content/ ├── content/
├── theme/hugo-PaperMod/ ├── theme/hugo-PaperMod/
└── layouts └── 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. 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} ```yml {linenos=true}
menu: menu:
@@ -242,7 +242,7 @@ use `align=center` to center image with captions
## Using Hugo's Syntax highlighter "chroma" ## 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} ```yml {linenos=true}
params: params:
@@ -250,7 +250,7 @@ use `align=center` to center image with captions
disableHLJS: true 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} ```yml {linenos=true}
markup: markup:

View File

@@ -70,7 +70,7 @@ Create a page with `archive.md` in `content` directory with following content
```shell ```shell
. .
├── config.yml ├── hugo.yaml
├── content/ ├── content/
│ ├── archives.md <--- Create archive.md here │ ├── archives.md <--- Create archive.md here
│ └── posts/ │ └── 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 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]} ```yml {linenos=true,hl_lines=[5]}
outputs: 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 ```yml
params: params:

View File

@@ -108,7 +108,7 @@ Direct Links:
hugo mod init YOUR_OWN_GIT_REPOSITORY hugo mod init YOUR_OWN_GIT_REPOSITORY
``` ```
- Add PaperMod in your `config.yml` file - Add PaperMod in your `hugo.yaml` file
```go {linenos=true} ```go {linenos=true}
module: 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 ### Finally set theme as PaperMod in your site config
In `config.yml` add: In `hugo.yaml` add:
```yml {linenos=true} ```yml {linenos=true}
theme: ["PaperMod"] 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/) > **Example Site Structure is present here**: [exampleSite](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite/)