diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-25 11:45:11 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-25 11:45:11 +0100 |
| commit | 82702fbe2d0607e7ca8a02c878b2e79a21664b7c (patch) | |
| tree | 2388abb10f8ec41ea4a20058f122cb0e7bcae9ef /src/pages/thematique | |
| parent | 958569e09071e4bb290f0ec120b4309ae5983d2d (diff) | |
chore: display total found posts in page meta
Diffstat (limited to 'src/pages/thematique')
| -rw-r--r-- | src/pages/thematique/[slug].tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pages/thematique/[slug].tsx b/src/pages/thematique/[slug].tsx index c76831d..75f33ff 100644 --- a/src/pages/thematique/[slug].tsx +++ b/src/pages/thematique/[slug].tsx @@ -50,6 +50,7 @@ const Thematic: NextPageWithLayout<ThematicProps> = ({ thematic }) => { const meta: ArticleMeta = { dates: thematic.dates, + results: thematic.posts.length, }; const thematicUrl = `${config.url}${router.asPath}`; |
