aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-01-11 16:20:59 +0100
committerArmand Philippot <git@armandphilippot.com>2022-01-11 16:20:59 +0100
commit606461f857e06b06429dd5738be642f9d1b459be (patch)
treeb8cd9a8fae669ecdf74f52deae4c54ef820c1470 /src/ts
parent99014e5634c6216173bf90117750f95172924134 (diff)
chore: add title and meta desc to subjects and thematics
Diffstat (limited to 'src/ts')
-rw-r--r--src/ts/types/taxonomies.ts4
1 files changed, 3 insertions, 1 deletions
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<Taxonomy, 'databaseId' | 'id' | 'title'> & {
+type TaxonomyPreview = Pick<Taxonomy, 'databaseId' | 'id' | 'seo' | 'title'> & {
slug: string;
};