Open aigoncharov opened 1 year ago
Similar to #143 and #271 - so that's now at least three of us who have hit this issue
Thank you for finding a solution!
If you see it again with the site update, it might be caused by a minification error. To fix it add "continueOnParseError: true" to your minification config. See https://github.com/aigoncharov/first-and-only-brain/commit/774c7ed54aa012373a45b6bc75b8c29e56be83b4
Complex LaTex expressions like this one:
$$ \frac{{n \choose k} {N - n \choose m - k}}{{N \choose m}} $$
are parsed as njk templates first, which leads to an njk error - it tries to treat
{{}}
as an njk expression.The error:
It could be fixed by:
false
in.eleventy.js
I am not submitting a PR because I am not sure if my use case is niche or how it could affect other digital gardens. Feel free to close the issue. I merely wanted other poor soul to be able to find it by the error name in search.
Commit with the fix - link