fun improvements #1
@@ -19,7 +19,7 @@ export interface PostData {
|
|||||||
content: string;
|
content: string;
|
||||||
readingTime: string;
|
readingTime: string;
|
||||||
headings: Heading[];
|
headings: Heading[];
|
||||||
wip?: boolean;
|
wip: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PostMeta {
|
export interface PostMeta {
|
||||||
@@ -28,7 +28,7 @@ export interface PostMeta {
|
|||||||
title: string;
|
title: string;
|
||||||
description: string;
|
description: string;
|
||||||
readingTime: string;
|
readingTime: string;
|
||||||
wip?: boolean;
|
wip: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
function extractHeadings(content: string): Heading[] {
|
function extractHeadings(content: string): Heading[] {
|
||||||
|
|||||||
Reference in New Issue
Block a user