How to add a local custom font? #1928
Replies: 5 comments
|
That should work. See https://discourse.gohugo.io/t/how-to-use-local-custom-font/40064 |
Thanks! Is that the suggested approach to modify css here I read the docs here: https://www.docsy.dev/docs/adding-content/lookandfeel/#project-style-files Should I put it here? |
|
Hi, Put the font under |
|
Hello, how can I add the static font with the method written in the docs here? The things need to override is from here: |
|
Ok, I did it. But I'm not sure it follows how Docsy does. In the file And how can I use my font and join those original ones? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The doc here https://www.docsy.dev/docs/adding-content/lookandfeel/#fonts only shows how to add a web font.
Is there a proper way to add local custom font?
Already put the font files at
/static/fontsand try several approach for Hugo, but no luck.All reactions