uPagge / uBlogger

A template designed with your readers in mind :heart:
https://ublogger.netlify.app
MIT License
250 stars 101 forks source link

[BUG] Awesome Fonts from Google not working? #73

Closed sspaeti closed 3 years ago

sspaeti commented 3 years ago

Describe the bug

Fontawesome from Google is not correctly set. Even though I set the fontawesome = true.

Expected behaviour

If I set the above in my config.toml to true, I would expect to use something like this: font-family: 'Open Sans', sans-serif; in my CSS. But it didn't really use the Open Sans font.

Build Environment

Additional Information

I could fix it with this gist by adding {{- partial "google-fonts.html" . -}} to my baseof.html. Should I create a PR, or will you add it directly? :-) Or did I do something wrong that didn't work before? I guess it's also not working on yours. Shouldn't these codes in Att. 1 also be some symbols or emojis?

PS: Thanks so much for your effort. I was searching for some templates until I found yours. I directly stopped searching! The features are amazing! I'm just moving now all my WordPress content over to Hugo and your template! Very much appreciated!!

Att. 1: image

uPagge commented 3 years ago

изображение

sspaeti commented 3 years ago

Where is that print screen from? I only imported the font that I use like ["Open Sans", "300, 300i, 400, 400i, 600, 600i, 700, 700i, 800, 800i"]. And I use it as my default meaning on every page. Therefore no need to deactivate. But I see your point, will check what will be the performance impact of it.