fix: some issues

This commit is contained in:
2023-08-02 18:13:31 +02:00
parent c8c745bb05
commit b95cfcc5b4
7 changed files with 78 additions and 45 deletions

View File

@@ -7,6 +7,7 @@ import { fixRenderedMarkdown } from "@lib/helpers.ts";
export type Article = {
id: string;
type: "article";
content: string;
name: string;
tags: string[];
@@ -86,6 +87,7 @@ function parseArticle(original: string, id: string): Article {
}
return {
type: "article",
id,
name,
tags,