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
Then the latex does not render and the CSS and JS is not included. If I now open extend_head.html and save it, hugo recompiles, the page reloads, the imports are there and Katex renders. But if I now modify the article and save that file, it doesn't render again. Any idea what could cause this?
The text was updated successfully, but these errors were encountered:
The easiest way to reproduce: If I just run hugo serve and open the blog post, math is not rendered. If I then edit and save extend_head.html and reload the web page, it renders.
There is a workaround to replace the extend_head with the following template instead, to make sure the content was processed first, then generate the CSS and JS markup.
Hi,
sorry if this is a dumb question, but I couldn't find a solution.
I'm using the latest version of the PaperMod theme and hugo v0.140.2.
I've added this to
layouts/partials/extend_head.html
:And if I add some debug text there I also see that it's always included. However, if I run hugo serve, add the example to a post and save:
Then the latex does not render and the CSS and JS is not included. If I now open
extend_head.html
and save it, hugo recompiles, the page reloads, the imports are there and Katex renders. But if I now modify the article and save that file, it doesn't render again. Any idea what could cause this?The text was updated successfully, but these errors were encountered: