404: Page Not Found
+Return to Main Page?
+Eventually, there will probably be something interesting here. For now, just use your imagination.
+
diff --git a/index.ts b/index.ts index 03fa42c..e74913c 100644 --- a/index.ts +++ b/index.ts @@ -45,6 +45,9 @@ builder.serve_template(renderer, "/", "index", { posts: posts_metadata, }); +//404 page (github pages) +builder.serve_template(renderer, "/404.html", "404", {}); + //blog posts //if two tags reduce down to the same slug, oh well, not my problem diff --git a/static/styles/global.css b/static/styles/global.css index 999acb1..d1b5bea 100644 --- a/static/styles/global.css +++ b/static/styles/global.css @@ -102,6 +102,10 @@ label[for="dark-mode"] { font-size: 1.3rem; } +label[for="dark-mode"]:hover { + cursor: pointer; +} + #dark-mode + label[for="dark-mode"]::after { color: black; content: "🌙"; diff --git a/templates/404.html b/templates/404.html new file mode 100644 index 0000000..5e746da --- /dev/null +++ b/templates/404.html @@ -0,0 +1,18 @@ + + +
+ + +Return to Main Page?
+Eventually, there will probably be something interesting here. For now, just use your imagination.
+