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

Most upvoted comments

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:

image