Hi, I’m new to Jekyll so forgive me if this is a remedial question.
I modified a version of minima and purchased a webfont (eot, woff, woff2 filetypes)
I have the files stored under assets/fonts/
On my top level scss file i have the following code:
font-family: “Post Grotesk”;
src: url(asset_path(“fonts/PostGrotesk-Book.eot”)) format(‘embedded-opentype’), /* IE9 Compat Modes /
url(asset_path(“fonts/PostGrotesk-Book.woff”)) format(‘woff’), / Modern Browsers /
url(asset_path(“fonts/PostGrotesk-Book.woff2”)) format(‘woff2’); / Safari, Android, iOS */
and then I changed the $base-font-family variable to “Post Grotesk”
from there I went to my config file and added this
However, despite this, I cannot get the font files to work.
I am using github pages.
Thanks in advance.