Skip to content

relative alias 'n' in yaml frontmatter does not create 'n' folder #14053

@ndalliard

Description

@ndalliard

when i set the alias to 'n' in yaml frontmatter like so:

---
aliases:
- n
---

the folder 'n' is not created in the public directory. it works with toml, absolute '/n' and somehow like this too:

---
aliases: ['n']
---

i tested other letters, they all seem to work, except for the letter 'n'

What version of Hugo are you using (hugo version)?

$ hugo version
$ hugo v0.151.1-1cdd17882c28a9f23278d38ef03b403954cfb1e5 openbsd/amd64 BuildDate=2025-10-15T14:51:34Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?

yes

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions