blist-hugo-theme icon indicating copy to clipboard operation
blist-hugo-theme copied to clipboard

CSS Compatibility with Github project pages

Open wiktorn opened this issue 3 years ago • 1 comments

When deploying to Github project pages (or probably any non-root directory) fonts are not loaded, as they refer to absolute path (example here).

Is there any recommended way to provide prefix to font resources in CSS?

wiktorn avatar Aug 21 '22 19:08 wiktorn

I think its better to update the file directly in this case since hugo doesn't have ways to update this path in CSS file. But I think it's a good tradeoff to have for not using google fonts in the site.

apvarun avatar Sep 01 '22 03:09 apvarun