You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Hugo are you using (hugo version)?
$ hugo version
hugo v0.108.0+extended darwin/amd64 BuildDate=unknown
Does this issue reproduce with the latest release?
Yes.
When canonifyURLs = true is set, Hugo detects changes to various layouts but does not reflect them to the browser, necessitating a hugo server restart. Changes to the homepage layout were detected and published but not for various layouts/_default/*.html or taxonomy templates.
jmooring
changed the title
canonifyURLs breaks livereload
LiveReload fails when site is served from subdirectory and canonifyURLs is enabled
Apr 29, 2024
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes.
When
canonifyURLs = true
is set, Hugo detects changes to various layouts but does not reflect them to the browser, necessitating ahugo server
restart. Changes to the homepage layout were detected and published but not for various layouts/_default/*.html or taxonomy templates.config.toml
:Workaround
canonifyURLs = false
and make use of {{ "some/rel/href" | relURL }} in templates.The text was updated successfully, but these errors were encountered: