| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | refactor(pages): rewrite helpers to output schema in json-ld format | Armand Philippot | 2023-12-14 | 1 | -11/+10 |
| | | | | | | | | | | | | | | * make sure url are absolutes * nest breadcrumb schema in webpage schema * trim HTML tags from content/description * use a regular script instead of next/script (with the latter the schema is not updated on route change) * place the script in document head * add keywords, wordCount and readingTime keys in BlogPosting schema * fix breadcrumbs in search page (without query) * add tests (a `MatchInlineSnapshot` will be better but Prettier 3 is not supported yet) | ||||
| * | refactor(hooks): rewrite useBreadcrumbs hook | Armand Philippot | 2023-12-12 | 1 | -0/+144 |
| * use next/router to get the slug instead of using props * handle cases where the current page title is not provided * update JSON-LD schema to match the example in documentation * add tests | |||||
