This fixes a problem where the search was not displaying in sub-directories. The problem was that `searcher.js` only exists in one place, and was loading `searchindex.json` with a relative path. However, when loading from a subdirectory, it needs the appropriate `..` to reach the root of the book. |
||
|---|---|---|
| .. | ||
| runner.rs | ||
| search.goml | ||
| sidebar-nojs.goml | ||
| sidebar.goml | ||