hugo-PaperMod: When hosting on github the theme is not rendered correctly.
I have the following code:
https://github.com/MariosKaramanis?tab=repositories
Here you can see the two repositories I am using.
marioskaramanis.github.io contains the public contents after running hugo -t PaperMod
and marioskaramanis-blog contains the files I used to build the hugo website.
When I run the code locally using hugo server
I am getting the desired format: https://prnt.sc/vqxj5j
but when I host it in github, I am getting this: https://marioskaramanis.github.io/
I checked my yaml file and there is a correct mapping between the baseUrl and the host url.
It seems that it does not find the css correctly or I am missing some configurations. Could you please help me out?
Thanks a lot!
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (5 by maintainers)
Commits related to this issue
- head, footer: add option to disable fingerprinting #89 in site config => params: assets: disableFingerprinting: true — committed to adityatelange/hugo-PaperMod by adityatelange 4 years ago
- papermod: add FAQ for a9ff953 #89 — committed to adityatelange/hugo-PaperMod by adityatelange 4 years ago
- papermod: add FAQ for a9ff953 #89 — committed to kylethedeveloper/hugo-PaperMod by adityatelange 4 years ago
- head, footer: add option to disable fingerprinting #89 in site config => params: assets: disableFingerprinting: true — committed to kylethedeveloper/hugo-PaperMod by adityatelange 4 years ago
@MariosKaramanis add proper baseURL https://github.com/MariosKaramanis/marioskaramanis-blog/blob/main/config.yml#L1
baseURL: “https://marioskaramanis.github.io/”
Yes this is still an issue. If you do this fix before sure to clear your cache. https://github.com/lxndrblz/anatole/issues/114#issuecomment-828750909
Hey @MariosKaramanis, I have added an option to disable Fingerprinting, just in case someone in future has the same issue !
This is what I had in the beginning and it didn’t work. I will try tomorrow again and let you know.
But also the local index.html file that is generated by hugo, gives the same result: