From 5aa2e6c0c6e4c73d93307e9f70803237006afb28 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 20 Dec 2023 20:27:18 -0500 Subject: go back to lume --- src/components/Footer.astro | 16 ---------------- src/components/Head.astro | 12 ------------ src/components/Nav.astro | 34 ---------------------------------- src/components/PostList.astro | 15 --------------- 4 files changed, 77 deletions(-) delete mode 100644 src/components/Footer.astro delete mode 100644 src/components/Head.astro delete mode 100644 src/components/Nav.astro delete mode 100644 src/components/PostList.astro (limited to 'src/components') diff --git a/src/components/Footer.astro b/src/components/Footer.astro deleted file mode 100644 index 0a244c0..0000000 --- a/src/components/Footer.astro +++ /dev/null @@ -1,16 +0,0 @@ ---- -import { execa } from "execa"; -import "@styles/global.sass"; - -const { stdout: gitCommit } = await execa("git", ["rev-parse", "HEAD"]); ---- - -
-
- source -

commit: {gitCommit}

-
-
diff --git a/src/components/Head.astro b/src/components/Head.astro deleted file mode 100644 index 0cce769..0000000 --- a/src/components/Head.astro +++ /dev/null @@ -1,12 +0,0 @@ ---- -const { title, description } = Astro.props; ---- - - - - - {title} - - - - diff --git a/src/components/Nav.astro b/src/components/Nav.astro deleted file mode 100644 index 66ac87e..0000000 --- a/src/components/Nav.astro +++ /dev/null @@ -1,34 +0,0 @@ ---- -interface Links { - home: string; - blog: string; - forgejo: string; - grafana: string; - github: string; - miniflux: string; -} - -const links: Links = { - home: "/", - blog: "/blog", - grafana: "https://grafana.mydadleft.me", - miniflux: "https://miniflux.mydadleft.me", - github: "https://github.com/getchoo", -}; ---- - - diff --git a/src/components/PostList.astro b/src/components/PostList.astro deleted file mode 100644 index a537e43..0000000 --- a/src/components/PostList.astro +++ /dev/null @@ -1,15 +0,0 @@ ---- -const posts = await Astro.glob("../pages/blog/posts/*.md"); ---- - -
- -
-- cgit v1.2.3