Skip to content

RSS output clobbers HTML output if url in front matter of section page includes a file extension #10393

Open
@AesaraB

Description

@AesaraB

Diagnostic for new issue name, ignore the remainder of this message

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

$ hugo version
hugo v0.104.3+extended linux/amd64 BuildDate=unknown

Does this issue reproduce with the latest release?

This is the latest release.

Issue

When setting a url in front matter, such as url = '/section/test', the output file is /section/test/index.html. However, when configuration uglyURLs = true is set, the output file remains /section/test/index.html, instead of /section/test.html which is consistent with other ugly url output files.

This behaviour may cause issues with certain web server configurations.

Update: This issue only occurs for list pages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions