Rune Antonsen
9a599aebea
feat(breadcrumbs): add option to hide current page ( #601 )
...
* feat(breadcrumbs): add option to hide current page
* Remove debug lines
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
---------
Co-authored-by: ruant <ruant@ruant.net>
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2023-11-20 08:28:16 -08:00
Jacky Zhao
43d638a6de
perf: compute mapping of folder name to file data for faster breadcrumbs
2023-11-11 21:06:37 -08:00
Jacky Zhao
275bea3051
style + cfg: resolve breadcrumb titles by default and change arrow character
2023-11-11 20:46:29 -08:00
Ben Schlegel
cec4877adb
fix(breadcrumbs): problem with folder whitespace ( #522 )
...
* fix(breadcrumbs): problem with folder whitespace
use slugs for folder hrefs so folder paths get resolved properly
* feat: only use `slug` for constructing crumbs
* fix: remove capitalization
2023-10-05 09:19:56 -07:00
Luca Salvarani
c8f5dbbad3
fix: Fix Backlinks
not applying the display class ( #519 )
...
* fix: Fix `Backlinks` not applying the display class
Fix #518
* fix: Apply `displayClass` to all layout components
* refactor: Use same style
* fix: Remove `undefined` class using coalescing operator
2023-10-01 17:20:55 -07:00
Ben Schlegel
0b61f6fbfd
feat: implement breadcrumb component ( #508 )
...
* feat: implement breadcrumbs
* style: fix styling, move breadcrumbs to top
* refactor: move `capitalize to `lang.ts``
* refactor: clean breadcrumb generation
* feat: add options to breadcrumbs
* feat: implement `resolveFrontmatterTitle`
* feat: add `hideOnRoot` option
* feat(consistency): capitalize every crumb
* style: add `flex-wrap` to parent container
* refactor: clean `Breadcrumbs.tsx`
* feat(accessibility): use `nav`, add aria label
* style: improve look in popovers by adding margin
* docs: write docs for breadcrumb component
* refactor: collapse `if` condition for hideOnRoot
* chore: add todo for perf optimization
* docs: update introduction
2023-09-29 10:26:15 +02:00