aboutsummaryrefslogtreecommitdiff
path: root/src/pages/404.astro
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2025-01-01 13:50:42 -0500
committerAndrew Lee <andrew@alee14.me>2025-01-01 13:52:16 -0500
commitaefcde2c3933bb50424e05faaaae193724a285da (patch)
treeb9f37dc4cb242f41b9bb036ecf57fadda671922f /src/pages/404.astro
parent96beb87b16de6c02660fb7a02515be43db0f16d7 (diff)
downloadpersonal-website-aefcde2c3933bb50424e05faaaae193724a285da.tar.gz
personal-website-aefcde2c3933bb50424e05faaaae193724a285da.tar.bz2
personal-website-aefcde2c3933bb50424e05faaaae193724a285da.zip
Now using Plausible analytics; Replaced Twitter with Bluesky
Diffstat (limited to 'src/pages/404.astro')
-rw-r--r--src/pages/404.astro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pages/404.astro b/src/pages/404.astro
index 09701a2..38ecfb8 100644
--- a/src/pages/404.astro
+++ b/src/pages/404.astro
@@ -7,6 +7,7 @@ import Layout from '../layouts/Default.astro'
<h2>Page not found</h2>
<h2>Whoops! You blew up the website!</h2>
</div>
+ <script>document.addEventListener('DOMContentLoaded', function () { plausible('404', { props: { path: document.location.pathname } }); });</script>
</Layout>
<style>
.error {