Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Add option to disable Google Fonts and load fonts locally #147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LukasJoswiak
Copy link

There is an existing flag disablefancyfonts that turns off loading fonts via Google Fonts. I wanted to keep using these fonts, but didn't want to make a request to Google to load them.

This PR adds an additional flag, disablegooglefonts which can be set to true to load fonts from the server instead of making a request to Google Fonts.

Example (config.toml):

[params]
disablefancyfonts = false
disablegooglefonts = true

The disablegooglefonts flag only has an effect when disablefancyfonts is set to false. disablegooglefonts defaults to false.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant