-
Hey, I'm loving this theme! It's simple to set up and it has KaTeX :D My question is, how do I hack this theme to:
I know there's documentation in Hugo and TailWinds, but I'd like to get some pointers before diving in those. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Although some of these changes are not straightforward, you have the ability to provide your own custom CSS to override any of the theme behaviour. Refer to the overriding the stylesheet docs to learn more about this. This is the quickest way to do things like changing the font to use something custom. You can also create your own templates for different types of content. The way to achieve this in Hugo is using "layouts". The docs also have a lot of detail on how to do this and I'd encourage you to read the content examples section to learn more about it. Essentially you could create a custom layout for technical posts (by creating content/
├─ blog/
│ └─ blog_post.md
├─ technical/
│ └─ techical_post.md
└─ _index.md |
Beta Was this translation helpful? Give feedback.
Although some of these changes are not straightforward, you have the ability to provide your own custom CSS to override any of the theme behaviour. Refer to the overriding the stylesheet docs to learn more about this. This is the quickest way to do things like changing the font to use something custom.
You can also create your own templates for different types of content. The way to achieve this in Hugo is using "layouts". The docs also have a lot of detail on how to do this and I'd encourage you to read the content examples section to learn more about it.
Essentially you could create a custom layout for technical posts (by creating
layouts/technical.html
) and use the base theme template …