Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameterize font in sass #115

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

rlemaitre
Copy link

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

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
@rlemaitre rlemaitre marked this pull request as draft May 23, 2020 23:04
@rlemaitre
Copy link
Author

I don't see why the CI checks fail. Does anybody can help?

@rlemaitre rlemaitre marked this pull request as ready for review May 24, 2020 14:22
@asvinp
Copy link

asvinp commented Aug 20, 2020

@rlemaitre thanks a lot!
I had to change the font-family: Sfont-stack to font-family: $font-stack and it worked.

@rlemaitre
Copy link
Author

@asvinp Thanks a lot, i had a hard time finding it

@StefMa StefMa force-pushed the master branch 11 times, most recently from 7c769b3 to 1907474 Compare February 28, 2023 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set to different font
2 participants