Homepage URL seems not respect `uglyURLs` parameter

Hi, I noticed that the homepage’s URL doesn’t respect the uglyURLs parameter, is it by designed?

{{ (site.GetPage "/").RelPermalink | warnf "home: %s" }}
{{ (site.GetPage "/blog").RelPermalink | warnf "blog: %s" }}
WARN  home: /
WARN  blog: /blog.html

https://github.com/gohugoio/hugo/issues/7497

1 Like

My bad, did’t search on GitHub first.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.