Cannot load fonts, but works locally

With github pages you cannot.

your url is in a css file. Ang I guess it’s in your static folder. So the css is copied verbatim to your site. No evaluation of the baseURL.

With that no way except adding the subfolder there. And use hugo server with the -baseURL parameter in development

Check out this one and choose:

2 Likes