Closed somnathrakshit closed 3 years ago
Unfortunately no, to change the font you need to modify the theme itself. I don't plan to add the option of changing fonts because Inconsolata is at the core of this theme's design and I'm not even sure it is programmatically possible with Hugo themes, sorry.
But you're welcome to directly edit the code or fork this theme. Here are the lines you need to change: https://github.com/ojroques/hugo-researcher/blob/51fc9574a00b9399a8734a9849e8c2796ea05e75/layouts/partials/head.html#L9 https://github.com/ojroques/hugo-researcher/blob/51fc9574a00b9399a8734a9849e8c2796ea05e75/assets/sass/researcher.scss#L39
I've just pushed support for font customization: you can now select the font to use in your website config.
The font you choose must be present at the visitor side. Therefore you must either:
Is there an easy way to use a different font for the website?