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 |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
Hi, Put the font under |
Beta Was this translation helpful? Give feedback.
-
Hello, how can I add the static font with the method written in the docs here? The things need to override is from here: |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
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/fonts
and try several approach for Hugo, but no luck.Beta Was this translation helpful? Give feedback.
All reactions