1
0
mirror of synced 2025-12-23 03:44:00 -05:00
Files
docs/middleware
Vanessa Yuen b46da8dfc7 Sublanding page all guides section (#16869)
* get link liquid tag to accept variables as param

* new liquid tag `link_as_article_card`

* refactor link liquid tag slightly so we can control what props get rendered

* generalize filterCodeExample to use in all guides section

* pass in `js-filter-card-max` instead of hardcode max

* tweaks and add `data` to CSP for images

* add liquid tag tests

* add some browser tests for card filters

* we still need to rely on `getPathWithLanguage` for hrefs that already have the language code embedded


Co-authored-by: Emily Gould <4822039+emilyistoofunky@users.noreply.github.com>
2021-01-18 12:23:23 +00:00
..
2021-01-15 11:21:52 -05:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-27 14:10:11 +02:00
2020-09-28 09:44:14 -07:00
2020-11-13 14:31:59 -05:00
2020-09-27 14:10:11 +02:00
2020-12-17 11:57:18 -08:00
2020-09-27 14:10:11 +02:00
2020-12-17 11:57:18 -08:00
2020-11-19 13:06:20 -05:00

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: