From fa02821efbe6f963a4ee937a70d4ece96ed13b12 Mon Sep 17 00:00:00 2001 From: Xe Iaso Date: Sun, 24 Sep 2023 16:41:51 -0400 Subject: add a notfound page Signed-off-by: Xe Iaso --- lume/_config.ts | 2 ++ lume/src/blog.jsx | 9 ++++++--- lume/src/blog/social-proximity-networks-2021-02-02.md | 10 ---------- lume/src/notfound.md | 8 ++++++++ 4 files changed, 16 insertions(+), 13 deletions(-) delete mode 100644 lume/src/blog/social-proximity-networks-2021-02-02.md create mode 100644 lume/src/notfound.md diff --git a/lume/_config.ts b/lume/_config.ts index b0e46b6..bbb6609 100644 --- a/lume/_config.ts +++ b/lume/_config.ts @@ -22,6 +22,7 @@ import rehypePrism from "npm:rehype-prism-plus/all"; const site = lume({ src: "./src", + emptyDist: false, }); site.copy("static"); @@ -50,6 +51,7 @@ site.use(feed({ site.use(mdx({ components: { "XeblogConv": XeblogConv, + "XesiteConv": XeblogConv, "XeblogHero": XeblogHero, "XeblogPicture": XeblogPicture, "XeblogSlide": XeblogSlide, diff --git a/lume/src/blog.jsx b/lume/src/blog.jsx index 796e1ff..80ddf6b 100644 --- a/lume/src/blog.jsx +++ b/lume/src/blog.jsx @@ -22,12 +22,15 @@ export default ({ search }) => { For a breakdown by post series, see here.

); diff --git a/lume/src/blog/social-proximity-networks-2021-02-02.md b/lume/src/blog/social-proximity-networks-2021-02-02.md deleted file mode 100644 index 9dc7c52..0000000 --- a/lume/src/blog/social-proximity-networks-2021-02-02.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Philosophy of Tailscale: Social proximity networks" -date: 2021-02-02 -tags: - - link -redirect_to: https://tailscale.com/blog/social-proximity-networks/ ---- - -Check out this post [on the Tailscale -blog](https://tailscale.com/blog/social-proximity-networks/)! diff --git a/lume/src/notfound.md b/lume/src/notfound.md new file mode 100644 index 0000000..2a8c4d8 --- /dev/null +++ b/lume/src/notfound.md @@ -0,0 +1,8 @@ +--- +title: Can't find {{.Path}} +layout: base.njk +--- + +

Can't find {{.Path}}

+ +

The page you're looking for doesn't exist. If it should, please contact me at /contact.

\ No newline at end of file -- cgit v1.2.3