diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-11 16:20:59 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-11 16:20:59 +0100 |
| commit | 606461f857e06b06429dd5738be642f9d1b459be (patch) | |
| tree | b8cd9a8fae669ecdf74f52deae4c54ef820c1470 /src/ts | |
| parent | 99014e5634c6216173bf90117750f95172924134 (diff) | |
chore: add title and meta desc to subjects and thematics
Diffstat (limited to 'src/ts')
| -rw-r--r-- | src/ts/types/taxonomies.ts | 4 |
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; }; |
