aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ToC/ToC.tsx
Commit message (Collapse)AuthorAgeFilesLines
* fix(toc): render on each route change and exclude aside titlesArmand Philippot2022-01-111-3/+0
| | | | | | On subject pages for example, the table of contents was not updated on route change. So I added router.asPath as dependency of useEffect. I also changed the query to exclude all titles in aside (ToC, widgets).
* chore: move Main grid to its childrenArmand Philippot2022-01-061-3/+4
| | | | This way I can use full width background for some blocks.
* chore: add a table of contentsArmand Philippot2021-12-211-0/+31