Hi, I’m building a simple blog based on the minima theme using Jekyll. It worked well locally but when I deployed it on Github Pages, root-level assets like favicon.ico etc. are not loaded. I also had to set the baseurl to / in _config.yml to make Github Pages load the stylesheet from /assets/css/main.css correctly. Any help would be appreciated. Thanks.
Here’s my current _config.yml:
description: >- # this means to ignore newlines until "baseurl:"
An AI learning platform for beginners.
baseurl: "/" # the subpath of your site, e.g. /blog
url: "https://aiwaffle.github.io/AIwaffle-blog" # the base hostname & protocol for your site, e.g. http://example.com
# Build settings
you need to do the same thing to all the icons, since you are using GH pages with a project, the root of the site is really a sub folder, your icon paths do not include the subfolder (baseurl) in the path so they are trying to load from the root of your username repo rather than the root of the project (sub folder in your username folder).