nextjournal / clerk

⚡️ Moldable Live Programming for Clojure
https://clerk.vision
ISC License
1.74k stars 76 forks source link

Default index shows a misleading notice #596

Closed zampino closed 6 months ago

zampino commented 6 months ago

When starting clerk server with no paths or index option, e.g. (clerk/serve! {}) the default index shows:

Screenshot 2024-01-02 at 11 25 08

Same in home

Screenshot 2024-01-02 at 11 25 27

even though :nextjournal/clerk alias is configured correctly.

zampino commented 6 months ago

This binding of paths/*build-opts* is making troubles https://github.com/nextjournal/clerk/blob/f8377d6116ccecee00ecf1dcc2fa843555cac9d8/src/nextjournal/clerk.clj#L70-L75 when invoking paths/index-paths.