Fix #397: Adjust URL for Chinese Categories and Tags
This commit is contained in:
9
src/types.d.ts
vendored
9
src/types.d.ts
vendored
@@ -24,9 +24,9 @@ export interface Post {
|
||||
image?: ImageMetadata | string;
|
||||
|
||||
/** */
|
||||
category?: string;
|
||||
category?: Taxonomy
|
||||
/** */
|
||||
tags?: Array<string>;
|
||||
tags?: Taxonomy[];
|
||||
/** */
|
||||
author?: string;
|
||||
|
||||
@@ -44,6 +44,11 @@ export interface Post {
|
||||
readingTime?: number;
|
||||
}
|
||||
|
||||
export interface Taxonomy {
|
||||
slug: string;
|
||||
title: string;
|
||||
}
|
||||
|
||||
export interface MetaData {
|
||||
title?: string;
|
||||
ignoreTitleTemplate?: boolean;
|
||||
|
Reference in New Issue
Block a user