Styling not loading when canonifyURLS set to "true" #1240
-
Hey! First of all thank you a lot for your work on this project, really one of the best documentation themes I've seen! :) I tried to update my site from version 0.5 to the latest version (1.6) according to your guide . The upgrade seemed to work so far, but I can't seem to get the styling to load correctly on my deployed site, when using the canonifyurl=true setting. Setting it to false lets the styling load, but then my URLs don't work correctly anymore, as it is not hosted on the url root (Maybe related to #1207)?. Any help with fixing this problem is much appreciated! The deployed site: https://buildingvolumes.github.io/Unity_Geometry_Sequence_Streaming/ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey, thanks! Please remove Needs updating: https://docs.gethyas.com/guides/deploy/github/ — I'll get back to you later (bit busy now) |
Beta Was this translation helpful? Give feedback.
-
Hey H-enk, thanks a lot for your quick answer, it's much appreciated! Disableing canonifyURLs let's the styling load again, but unfortunately most of my links don't work anymore than, as the site doesn't sit at the url root, but rather a subdirectory (https://buildingvolumes.github.io/Unity_Geometry_Sequence_Streaming/ works, but clicking on "Get Started" gets then redirected to the wrong url, without the subdirectory). Is there any workaround for this? The only thing that would come to my mind is adding the subdirectory to all urls manually, although this would break local testing. |
Beta Was this translation helpful? Give feedback.
Hey, thanks!
Please remove
canonifyURLs = true
— https://discourse.gohugo.io/t/hugo-site-have-no-style-after-deploying-on-github-pages/48900/15Needs updating: https://docs.gethyas.com/guides/deploy/github/ — I'll get back to you later (bit busy now)