Remove MDX

This commit is contained in:
Cassidy Williams
2022-10-24 00:01:33 -05:00
parent 0d4e70c5ee
commit 8f1fa8109c
4 changed files with 2 additions and 734 deletions

View File

@@ -8,7 +8,7 @@ import ColorScript from "../components/ColorScript.astro";
import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
// Use Astro.glob() to fetch all posts, and then sort them by date.
const posts = (await Astro.glob("../posts/*.{md,mdx}")).sort(
const posts = (await Astro.glob("../posts/*.md")).sort(
(a, b) =>
new Date(b.frontmatter.added).valueOf() -
new Date(a.frontmatter.added).valueOf()