fixed warnings and added archive sorting

This commit is contained in:
2023-02-11 16:20:59 -05:00
parent 6eb16e8937
commit 3acae2c81e
9 changed files with 90 additions and 5 deletions
-1
View File
@@ -1,5 +1,4 @@
---
import { format, add } from "date-fns";
import FormattedDate from "@components/FormattedDate.astro";
interface Props {
+1 -1
View File
@@ -2,7 +2,7 @@
import { format, add } from "date-fns";
interface Props {
date: String;
date: Date;
}
const { date } = Astro.props;
-1
View File
@@ -1,6 +1,5 @@
---
const { pathname } = Astro.url;
console.log(pathname);
const navLinks = [
{ label: "Blog", icon: "website-with-texticonImage24px", path: "/" },