19 lines
311 B
TypeScript
19 lines
311 B
TypeScript
export interface BlogPost {
|
|
date: string;
|
|
title: string;
|
|
tags: string[];
|
|
file: string;
|
|
slug: string;
|
|
fullSlug: string;
|
|
markdown: string;
|
|
html: string;
|
|
next?: Partial<BlogPost>;
|
|
prev?: Partial<BlogPost>;
|
|
}
|
|
|
|
export interface BlogPostTag {
|
|
name: string;
|
|
count: number;
|
|
posts: string[];
|
|
}
|