From 82702fbe2d0607e7ca8a02c878b2e79a21664b7c Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 25 Jan 2022 11:45:11 +0100 Subject: chore: display total found posts in page meta --- src/pages/thematique/[slug].tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pages/thematique') 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 = ({ thematic }) => { const meta: ArticleMeta = { dates: thematic.dates, + results: thematic.posts.length, }; const thematicUrl = `${config.url}${router.asPath}`; -- cgit v1.2.3