Skip to content
Discussion options

You must be logged in to vote

Is there any way to save fonts locally and embed them in the theme?

Google fonts are loaded through this file:
https://github.com/CaiJimmy/hugo-theme-stack/blob/7dab67b358b6419e1c182876d89cdfb49b9f5cc2/layouts/partials/footer/components/custom-font.html

Theoretically, you can download that CSS along with all woff2 files, and replace src with local links, and that should do the job.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mdbdb
Comment options

Answer selected by mdbdb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants