Closed 0xFelix closed 8 months ago
Hi Felix
I am experiencing the same problem. It appears that the extra "/" is prepended by hugo versions 0.123.0 and higher.
A quick fix for the meanwhile is to pin the hugo version to 0.122.0.
I removed the import lines and the syntax highlighting persisted, what does the 00-vendor.css do ?
It imports the CSS files required for Prism plugins. I expect your Prism plugin configuration to be broken if you leave out the required imports.
So is this a Hugo bug or intended behavior? I have looked through the 0.123.x Hugo release notes, but couldn't identify the change introducing this behavior.
This bug is happening to me as well, with a very strange caveat. For whatever reason, using the correct baseURL for my site, which lives in a sub-directory [url]/blog, causes hugo to attempt to find the prismjs files in blog/prismjs, which seems bizarre. Not really sure how to fix that.
I get the following error after running through the steps in the README.md to setup a new site
It looks like the imports of Prism plugins in
non-critial/00-vendor.css
is broken because a slash is prepended to the imports.https://github.com/schnerring/hugo-theme-gruvbox/blob/9dba7c775b7a0b377ea3e4826cf005406c118391/assets/css/non-critical/00-vendor.css#L9
When exchanging this with the following the build works again:
What I noticed: