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
Trying to run my site with hugo 0.42.1 (after using the env var workaround from #4851) results in a broken theme. My site works fine if I downgrade hugo to 0.40 (I happened to have this available in homebrew at the time).
When loading my site with the env var workaround, I get the following message in the browser's JS console:
Loading failed for the <script> with source “http://localhost:1313/javascripts/modernizr.js”.
public/javascripts/modernizr.js exists when I run hugo server, but wget also fails to retrieve the file so I'm not sure why it isn't being served. Other files in that directory work fine.
For reference, the theme I'm using is hugo-material-docs and their example project (with minor tweaks) works fine in 0.42.1
The text was updated successfully, but these errors were encountered:
@bep : I started posting in discourse but you closed my thread there too pointing me to create a ticket. I can't comment on that thread, so I'll post my update here instead:
This is an inherited project and the previous dev was using a much older version of hugo. I've been trying to modernize it. The version's I've had access to on my machine without trying to custom compile from source are 0.40, 0.42.1, and 0.43.
I did get a little bit further in my diagnostics though. The issue presents itself when both my English and French sites have baseURLs set. I need different baseURLs for each site as there is a different domain used for each language.
I see someone else just opened a ticket about multilingual sites not pulling contents from themes (#4929) so this ticket can stay close and I will follow that thread instead.
Trying to run my site with hugo 0.42.1 (after using the env var workaround from #4851) results in a broken theme. My site works fine if I downgrade hugo to 0.40 (I happened to have this available in homebrew at the time).
When loading my site with the env var workaround, I get the following message in the browser's JS console:
public/javascripts/modernizr.js
exists when I runhugo server
, but wget also fails to retrieve the file so I'm not sure why it isn't being served. Other files in that directory work fine.For reference, the theme I'm using is hugo-material-docs and their example project (with minor tweaks) works fine in 0.42.1
The text was updated successfully, but these errors were encountered: