From 606461f857e06b06429dd5738be642f9d1b459be Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Tue, 11 Jan 2022 16:20:59 +0100 Subject: chore: add title and meta desc to subjects and thematics --- src/ts/types/taxonomies.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ts') diff --git a/src/ts/types/taxonomies.ts b/src/ts/types/taxonomies.ts index 0b2d696..a0aaa5e 100644 --- a/src/ts/types/taxonomies.ts +++ b/src/ts/types/taxonomies.ts @@ -1,6 +1,7 @@ import { ContentParts, Dates, Slug } from './app'; import { ArticlePreview, RawArticlePreview } from './articles'; import { Cover, RawCover } from './cover'; +import { SEO } from './seo'; //============================================================================== // Taxonomies base @@ -13,10 +14,11 @@ type Taxonomy = { id: string; intro: string; posts: ArticlePreview[]; + seo: SEO; title: string; }; -type TaxonomyPreview = Pick & { +type TaxonomyPreview = Pick & { slug: string; }; -- cgit v1.2.3