mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2026-01-23 17:32:25 +01:00
@@ -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:
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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/)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user