upstream #1
| @@ -80,7 +80,6 @@ export async function getFileBySlug(type, slug) { | ||||
|   return { | ||||
|     mdxSource, | ||||
|     frontMatter: { | ||||
|       wordCount: content.split(/\s+/gu).length, | ||||
|       readingTime: readingTime(content), | ||||
|       slug: slug || null, | ||||
|       fileName: fs.existsSync(mdxPath) ? `${slug}.mdx` : `${slug}.md`, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user