From 825c7e43fa91ffcdd8e5a464e9491958266eb00b Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sun, 16 Jun 2024 15:01:34 -0400 Subject: Use the built-in `sxml-reader' from Haunt --- haunt/pages/status-404.sxml | 111 ++++++++++++++++++++++---------------------- 1 file changed, 55 insertions(+), 56 deletions(-) (limited to 'haunt/pages/status-404.sxml') diff --git a/haunt/pages/status-404.sxml b/haunt/pages/status-404.sxml index d189084..244bde2 100644 --- a/haunt/pages/status-404.sxml +++ b/haunt/pages/status-404.sxml @@ -19,59 +19,58 @@ (use-modules (jakob theme) (jakob utils sxml)) -(theme - #:title "Page Not Found" - #:content - `((p "Server responded with a status of 404: Not Found.") - (p "Whatever you're looking for, it's not here... anymore, at least.") - (p "That could be due to link rot. Perhaps the " - ,(hyperlink "https://web.archive.org/" "Wayback Machine") - " has it?") - (hr) - (p "Yo, listen up, I got a new one" - (br) - "Status code 404, that's what it means" - (br) - "When a website can't find what you're looking for" - (br) - "It's like a missed connection, a lost opportunity" - (br) - "But don't worry, it's not the end of the world" - (br) - "Just hit refresh and try again, maybe it'll turn up" - (br) - "Or you could always ask the website administrator" - (br) - "Maybe they'll have some insights on where to find what you need" - (br) - "Either way, 404 ain't no joke" - (br) - "It's a warning sign that something's off" - (br) - "But hey, it's not the end of the world" - (br) - "Just keep searching, and don't give up the fight" - (br) - "Yo, listen up, I got a new one" - (br) - "Status code 404, that's what it means" - (br) - "When a website can't find what you're looking for" - (br) - "It's like a missed connection, a lost opportunity" - (br) - "But don't worry, it's not the end of the world" - (br) - "Just hit refresh and try again, maybe it'll turn up" - (br) - "Or you could always ask the website administrator" - (br) - "Maybe they'll have some insights on where to find what you need" - (br) - "Either way, 404 ain't no joke" - (br) - "It's a warning sign that something's off" - (br) - "But hey, it's not the end of the world" - (br) - "Just keep searching, and don't give up the fight."))) +`((title . "Page Not Found") + (content + . ((p "Server responded with a status of 404: Not Found.") + (p "Whatever you're looking for, it's not here... anymore, at least.") + (p "That could be due to link rot. Perhaps the " + ,(hyperlink "https://web.archive.org/" "Wayback Machine") + " has it?") + (hr) + (p "Yo, listen up, I got a new one" + (br) + "Status code 404, that's what it means" + (br) + "When a website can't find what you're looking for" + (br) + "It's like a missed connection, a lost opportunity" + (br) + "But don't worry, it's not the end of the world" + (br) + "Just hit refresh and try again, maybe it'll turn up" + (br) + "Or you could always ask the website administrator" + (br) + "Maybe they'll have some insights on where to find what you need" + (br) + "Either way, 404 ain't no joke" + (br) + "It's a warning sign that something's off" + (br) + "But hey, it's not the end of the world" + (br) + "Just keep searching, and don't give up the fight" + (br) + "Yo, listen up, I got a new one" + (br) + "Status code 404, that's what it means" + (br) + "When a website can't find what you're looking for" + (br) + "It's like a missed connection, a lost opportunity" + (br) + "But don't worry, it's not the end of the world" + (br) + "Just hit refresh and try again, maybe it'll turn up" + (br) + "Or you could always ask the website administrator" + (br) + "Maybe they'll have some insights on where to find what you need" + (br) + "Either way, 404 ain't no joke" + (br) + "It's a warning sign that something's off" + (br) + "But hey, it's not the end of the world" + (br) + "Just keep searching, and don't give up the fight.")))) -- cgit v1.3