.Page.Store is sometimes empty. Cannot load Mermaid script reliably

These are the culprits:

https://github.com/CodeYourFuture/curriculum/blob/main/content/fundamentals/sprints/2/prep/index.md?plain=1#L17

https://github.com/CodeYourFuture/curriculum/blob/main/content/fundamentals/sprints/3/prep/index.md?plain=1#L13

If you comment those out, no problems. I can’t tell you why—I’m having a difficult time following the logic.


Not relevant, and it is currently not called, but this is wrong:
https://github.com/CodeYourFuture/curriculum/blob/main/layouts/_default/single.html#L8