Answer the question
In order to leave comments, you need to log in
Why doesn't github pages see fonts included via @font-face?
Hello. Github Pages takes the site from the docs folder at the root of the repository. Everything is displayed correctly, except for the fonts. For some reason, the site does not see fonts connected via @font-face from the fonts folder (which is also evidenced by errors in the browser console). When I build a site with gulp on my computer, everything works and connects correctly. What could be the problem?
Screenshot of docs folder:
Screenshot of fonts folder:
Screenshot of @font-face:
Screenshot of console error:
Answer the question
In order to leave comments, you need to log in
What could be the problem?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question