Skip to content

uglyURLs - Permalink and RelPermalink of home page not ugly #7497

@kusma

Description

@kusma

When using ugly-URLs, links to the homepage render as "/" instead of the expected "/index.html". This causes problems when trying to host Hugo sites on hosts that disable DirectoryIndex. In my particular use-case, it's when I use the gitlab "exposed artifact"-feature to preview website changes for mesa3d.org.

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

$ hugo version 
Hugo Static Site Generator v0.68.3/extended linux/amd64 BuildDate: 2020-03-25T06:15:45Z

Does this issue reproduce with the latest release?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions