3 ms·
Ahhh thank you, looks like that's used to render MathML, which I do use. Perhaps I can add katex.js to the git repo and serve it from wherever it is gitlab host
by ahelwer 6y ago
Ahhh thank you, looks like that's used to render MathML, which I do use. Perhaps I can add katex.js to the git repo and serve it from wherever it is gitlab hosts their websites.
- vladvasiliu 6y agoI'm no hugo expert, but that's likely possible. After all, the JS files are static content. You can probably modify the theme's template to load the js from the origin. I guess the whole point of using cloudflare as the cdn is so that people can reuse this from cache.
- ahelwer 6y agoThat's an interesting trade-off. I guess static sites are small enough that downloading an extra script wouldn't be terrible, by modern heavyweight website standards. Still, maybe I should look into what cloudflare CDN actually does with its data.
- abdullahkhalids 6y agoI use pelican-katex plugin to render math once during website generation, and then not have to load the katex.js file at all. Only a katex.css file and fonts loaded from my own server. https://github.com/cqql/pelican-katex https://github.com/cqql/pelican-katex