* Add Lunr as a site search option * Use a class like the Algolia option does * Lint * Working on showing real content, prep for highlighting * Move searching to their own files * Split out ridiculous fn * Add highlighting * Less lunr search code * A little more tidy * Then chain on write too * Mark from server too * Write a batch of indices * Update compress.js * Highlighting with fewer calls * Update lunr-search.js * Update lunr-search.js * Update lunr-search.js * Update lunr-search.js * Update lunr-search.js * Update lunr-search.js
Middleware
Each file in this directory exports an Express Middleware function.
For more info, see https://expressjs.com/en/guide/using-middleware.html
Subdirectories
There are subdirectories for different types of middleware:
- contextualizers modify the
req.contextobject that is used to render pages. - redirects handle... redirects!