mrmierzejewski / hugo-theme-console

A minimal, responsive and light theme for Hugo inspired by Linux console.
MIT License
393 stars 118 forks source link

Fonts in console.css will 404 on GitHub-hosted "project pages" #8

Closed r10e closed 4 years ago

r10e commented 4 years ago

If a repository is hosted on GitHub Pages but should be hosted on username.github.io/reponame (instead of the base URL without the added reponame path), the fonts in console.css are requested from username.github.io/hugo-theme-console/font/fontname and not from username.github.io/reponame/hugo-theme-console/font/fontname.

I'll create a PR that changes the font paths to relative (i.e. changing /hugo-theme-console/ into ../). Alternatively, they could probably be pulled directly from google fonts.