diff --git a/app/components/Contribute.tsx b/app/components/Contribute.tsx index 02254b4..f8e1acc 100644 --- a/app/components/Contribute.tsx +++ b/app/components/Contribute.tsx @@ -31,10 +31,11 @@ function buildGithubNewUrl(dirPath: string, filename: string, title: string) { const file = filename.endsWith(".mdx") ? filename : `${filename}.mdx`; const fullDir = `${DOCS_BASE}/${dirPath}`.replace(/\/+/g, "/"); const frontMatter = `--- -title: ${title || "New Article"} -description: -date: ${new Date().toISOString().slice(0, 10)} -tags: [] +title: '${title || "New Article"}' +description: "" +date: "${new Date().toISOString().slice(0, 10)}" +tags: + - tag-one --- # ${title || "New Article"}