-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
font
instead of fonts
in docs
#28
Comments
You can actually change the fonts without overriding templates at all, just using: "font": {"text": "Roboto", "code": "Roboto Mono"}, in your We should adapt the documentation based on this: |
Also I'm pretty sure |
The trick with Didn't check |
I don't see anything in the templates that makes use of a On the other hand, |
Found another bug in the theme docs: in the New blocks section there's a description of a block responsible for substituting the default font. But it should read
fonts
instead offont
– I realised that only after reading the code of the defaultlayout.html
file here in the repo:When you use the following
font
block in the /_template/layout.html file that overrides defaults, nothing happens (the text font is still Roboto):But this code works when you use
{% block fonts %}
.The text was updated successfully, but these errors were encountered: