hugo-fresh
hugo-fresh copied to clipboard
Parameterize font in sass
Use resources.ExecuteAsTemplate (introduced inn hugo 0.43) to use config variables in SASS. Unfortunately, only base SASS files can be used as Go template, that's why the variable is defined in main file instead of partials.
It should fix #46
I don't see why the CI checks fail. Does anybody can help?
@rlemaitre thanks a lot! I had to change the font-family: Sfont-stack to font-family: $font-stack and it worked.
@asvinp Thanks a lot, i had a hard time finding it