You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use Google fonts with elegant, but I am not sure how I would modify the HTML header in base.html to add the Google Fonts in the section.
You recommend not changing the templates code as it is a maintainability nightmare which I agree with. What would the best way to do this?
Is overriding a template possible? Such as overriding base.html so that I can just add my customizations have that be taken as the new base.
Kindly let me know.
Thanks in advance.
The text was updated successfully, but these errors were encountered:
My friend is moving over his site from another platform and likes your theme but he is very particular about fonts and typography.
He wishes to use the Noto Serif font and I wanted to know how I would go about it. Usually, I would have to add the link rel attribute of a Google Font to the of the document to be able to use it.
But does your theme download whatever font the user wants to use just by changing the custom CSS without specifying a specific link rel? Please tell me how this works and demystify me.
Lastly, I have a question about overriding templates. Let us say I wanted to be able to order the links on the navigation bar in a particular way and need to add some jinja code. I do not want to go into your theme's template and do this, instead, I would like to specify my own base.html and make the theme use that. How would I go about this?
I am newbie to Pelican and am just trying to help a friend out with his website and learning as I am going along.
But does your theme download whatever font the user wants to use just by changing the custom CSS without specifying a specific link rel? Please tell me how this works and demystify me.
You do not need to modify <head> to get Google font. You can import the fonts in CSS.
I am trying to use Google fonts with elegant, but I am not sure how I would modify the HTML header in base.html to add the Google Fonts in the section.
You recommend not changing the templates code as it is a maintainability nightmare which I agree with. What would the best way to do this?
Is overriding a template possible? Such as overriding base.html so that I can just add my customizations have that be taken as the new base.
Kindly let me know.
Thanks in advance.
The text was updated successfully, but these errors were encountered: