I have launched my portfolio website on Github recently, unfortunately, my fonts are not loading on my GitHub portfolio. How do I 'self-host' the fonts on Github?
I have researched and came across this link, but I'm not sure how to implement it or if it is an effective way to solve my problem.
https://github.com/KyleAMathews/typefaces
Here is my @font-face css code:
@font-face {
font-family: 'et-line';
src:url('../fonts/et-line.eot');
src:url('../fonts/et-lined41d.eot?#iefix') format('embedded-opentype'),
url('../fonts/et-line.woff') format('woff'),
url('../fonts/et-line.ttf') format('truetype'),
url('../fonts/et-line.svg#et-line') format('svg');
font-weight: normal;
font-style: normal;
}