From ef37632af8d6f5bc7d2efce2dafe3b0cda1f10f2 Mon Sep 17 00:00:00 2001 From: mr4tt <78581772+mr4tt@users.noreply.github.com> Date: Tue, 30 Jul 2024 15:21:34 +0800 Subject: Add 404 Page when theme not found (#777) --- .gitignore | 2 +- build-theme-previews.py | 50 ++++++++++++++++++++++++++++++++++++++++++++++-- pelican-sad.png | Bin 0 -> 1030179 bytes 3 files changed, 49 insertions(+), 3 deletions(-) create mode 100644 pelican-sad.png diff --git a/.gitignore b/.gitignore index e79f6b5..ba5436c 100644 --- a/.gitignore +++ b/.gitignore @@ -19,4 +19,4 @@ Thumbs.db # Preview artifacts # ##################### _pelican -_output \ No newline at end of file +_output diff --git a/build-theme-previews.py b/build-theme-previews.py index 327fba5..3ad6740 100644 --- a/build-theme-previews.py +++ b/build-theme-previews.py @@ -59,7 +59,7 @@ HTML_HEADER = """\ +
+ +Double-check the URL and try again, or head home.
+ + + + +