diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-11-20 12:27:46 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-11-20 19:32:09 +0100 |
| commit | 70b4f633a6fbedb58c8b9134ac64ede854d489de (patch) | |
| tree | c757bb12ad9a588e23b25cdb8b46710ac14dbcb1 /src/components/templates/page/index.ts | |
| parent | 9a481f066e1427d53a06cf7aeec525a745abf03f (diff) | |
refactor(components): replace PageLayout template with Page
* split pages in smaller components (it is both easier to maintain and
more readable, we avoid the use of fragments in pages directory)
* extract breadcrumbs from article tag (the navigation is not related
to the page contents)
* remove useReadingTime hook
* remove layout options except `isHome`
Diffstat (limited to 'src/components/templates/page/index.ts')
| -rw-r--r-- | src/components/templates/page/index.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/templates/page/index.ts b/src/components/templates/page/index.ts index cdd5a64..3b26326 100644 --- a/src/components/templates/page/index.ts +++ b/src/components/templates/page/index.ts @@ -1 +1,6 @@ -export * from './page-layout'; +export * from './page'; +export * from './page-body'; +export * from './page-comments'; +export * from './page-footer'; +export * from './page-header'; +export * from './page-sidebar'; |
