-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
there is a duplicate alias in front-matter generating error:
Error: error building site: process: readAndProcessContent: "/builds/demos/hugo/content/posts/papermod/papermod-faq.md:9:1": [8:1] mapping key "aliases" already defined at [4:1]
5 | tags: ["PaperMod", "Docs"]
6 | author: ["PaperMod Contributors"]
7 | draft: true
> 8 | aliases: [/posts/papermod/papermod-how-to]
^
9 | weight: 3
Steps to reproduce
open page: Page:
https://github.com/adityatelange/hugo-PaperMod/blob/exampleSite/content/posts/papermod/papermod-faq.md
2. remove a aliases first or second
3. problem gone
Hugo Version
Hugo >= 0.146.0 (Recommended - Minimum version required for PaperMod)
PaperMod Version
master
What kind of devices are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
Browser Version
No response
Relevant log output
Error: error building site: process: readAndProcessContent: "/builds/demos/hugo/content/posts/papermod/papermod-faq.md:9:1": [8:1] mapping key "aliases" already defined at [4:1]
5 | tags: ["PaperMod", "Docs"]
6 | author: ["PaperMod Contributors"]
7 | draft: true
> 8 | aliases: [/posts/papermod/papermod-how-to]
^
9 | weight: 3Repository/Source Code link where this issue can be reproduced
https://github.com/adityatelange/hugo-PaperMod/blob/exampleSite
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working