Remove MDX

This commit is contained in:
Cassidy Williams committed 2022-10-24 00:01:33 -05:00
1 parent 0d4e70c5ee
commit 8f1fa8109c
4 files changed
+2 -734

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ import ColorScript from "../components/ColorScript.astro";
import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
import { Content as About } from "./about.md";
const posts = await Astro.glob("../posts/*.{md,mdx}");
const posts = await Astro.glob("../posts/*.md");
// Get tags from all posts
const getTags = posts
+1 -1
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()