adityavarma1234.github.io), so it is served at the
domain root — not under a /reponame/ subpath.bundle installbundle exec jekyll serve (serves at http://localhost:4000)bundle exec jekyll build (outputs to _site/)Because this is a user/organization GitHub Pages site, it is served from the domain root, so root-relative paths are correct and required:
/css/main.css, /about, /assets/foo.jpg, etc.
These resolve correctly since the site lives at the domain root.<base> tag — that guidance
only applies to project pages (repos named something other than
<user>.github.io), which is not the case here.