RatanShreshtha / DeepThought

A simple blog theme focused on writing powered by Bulma and Zola.
https://deepthought-theme.netlify.app/
MIT License
177 stars 92 forks source link

KaTeX support for individual pages #20

Closed laszukdawid closed 3 years ago

laszukdawid commented 3 years ago

Other pull request (https://github.com/RatanShreshtha/DeepThought/pull/12) introduced KaTeX global support. That's too big for my use case as not all pages have a formula. There isn't a need to download KaTeX script on each page.

This PR is a copy-paste of KaTeX support from base.html to page.htnl with change of flag reference.

RatanShreshtha commented 3 years ago

I think you also need to remove katex script from base.html as well