I’ve tried so much but o matter how many times i push it to github it still doesn’t show css.
Welcome to the forum,
Unfortunately you provided a black box and tell it does not work. There are so many points where you could have done something wrong…
please have a look at Requesting Help especially
Let us see your code
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick
git clone
on your repo, then runhugo server
in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.
Yeah, sure.
Here’s my link for the hugo files and I’m hosting the /public in GitHub - frost4graves/frost4graves.github.io
Sorry, for causing the issue, I’m inexperienced.
-
looks like you included PaperMod as a submodule in your “HugoBlog” repository, but you missed to commit the .gitmodules.
-
in your frost4graves repository you deploy your commited public stuff (which is already a full static HTML site) using a Jekyll build workflow.
use either Static HTML By GitHub Actions or serve from branch in your Gihub Pages settings.
the css is not loaded (error in browser console about an integrity check. Maybe using the Static HTML By GitHub Actions will work, but I’m not sure.
if you do not insist to separate source and target repo the common way to deploy a hugo site would be:
- store your site sources in the frost4graves.github.io repo
make sure to properly handle your theme as submodule - use a github workflow to build with hugo and publish. See Host on GitHub Pages
Wait, I’m not using a submodule of the theme on my hugo-blog repo. Sir, can you please re-check if I’m missing something?
since when?
i cloned
N 4f6d1de [2025-05-30 14:25:34] (origin/main, origin/HEAD) : Clean build
now
N 4311706 [2025-05-30 14:58:35] : Fixed again
N fdb1323 [2025-05-30 14:49:42] : Fixed
N 503ee93 [2025-05-30 14:45:25] : Add PaperMod as regular folder
N 3cf2d83 [2025-05-30 14:40:54] : Clean build
N 195762a [2025-05-30 14:39:49] : Clean build
N 4f6d1de [2025-05-30 14:25:34] : Clean build
so 1. seems fixed. head over to 2.
Oh, yeah I figured it out. Thank you so much sir to help me out and now I’m hosting it on frost4graves.github.io
Tysmm!!!.