feat: initial commit
This commit is contained in:
commit
e214116e40
253 changed files with 17406 additions and 0 deletions
44
src/pages/static/errors/404.html
Normal file
44
src/pages/static/errors/404.html
Normal file
|
@ -0,0 +1,44 @@
|
|||
---
|
||||
title: 404
|
||||
description: What kind of idiots do you have working here?
|
||||
permalink: /404/index.html
|
||||
eleventyExcludeFromCollections: true
|
||||
excludeFromSitemap: true
|
||||
---
|
||||
|
||||
<div class="hero">
|
||||
<img
|
||||
srcset="
|
||||
{{ globals.cdn_url }}/daac2a48-455f-4b7b-a727-b33868cbb2fc.jpg?class=bannersm&type=webp 256w,
|
||||
{{ globals.cdn_url }}/daac2a48-455f-4b7b-a727-b33868cbb2fc.jpg?class=bannermd&type=webp 512w,
|
||||
{{ globals.cdn_url }}/daac2a48-455f-4b7b-a727-b33868cbb2fc.jpg?class=bannerbase&type=webp 1024w
|
||||
"
|
||||
sizes="(max-width: 450px) 256px,
|
||||
(max-width: 850px) 512px,
|
||||
1024px"
|
||||
src="{{ globals.cdn_url }}/daac2a48-455f-4b7b-a727-b33868cbb2fc.jpg?class=bannersm&type=webp"
|
||||
alt="An image Kevin McCallister screaming taken from the movie Home Alone 2."
|
||||
class="image-banner"
|
||||
loading="lazy"
|
||||
decoding="async"
|
||||
width="720"
|
||||
height="480"
|
||||
/>
|
||||
</div>
|
||||
<div style="text-align:center">
|
||||
<h2>404</h2>
|
||||
<p>What kind of idiots do you have working here?</p>
|
||||
<p><a href="/">Hurry up and skip out on the room service bill!</a></p>
|
||||
</div>
|
||||
<script>
|
||||
const track404 = () => {
|
||||
const referrer = document.referrer || "Unknown referrer";
|
||||
const userAgent = navigator.userAgent;
|
||||
const requestedURL = window.location.pathname;
|
||||
|
||||
if (window.umami)
|
||||
umami.track("404 Error", { referrer, user_agent: userAgent, requested_url: requestedURL });
|
||||
};
|
||||
|
||||
document.addEventListener("DOMContentLoaded", track404);
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue