File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed
Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ export interface Props {
2929 ogImageAlt? : string
3030 link? : object []
3131 structuredData? : object []
32- is404? : boolean
3332}
3433
3534const {
@@ -41,7 +40,6 @@ const {
4140 ogImageAlt,
4241 link = [],
4342 structuredData = [],
44- is404 = false
4543} = Astro .props
4644
4745const canonicalUrl = new URL (Astro .url .pathname , Astro .site ).toString ()
@@ -134,16 +132,6 @@ import "../styles/global.css"
134132 />
135133 <Icons />
136134 <script is:inline set:html ={ themeToggleInitScript } ></script >
137- <script defer data-domain =" ddev.com" src =" https://plausible.io/js/script.js"
138- ></script >
139- {
140- is404 && (
141- <script is :inline >
142- window.plausible = window.plausible || function() { (window .plausible .q = window .plausible .q || []).push (arguments ) }
143- </script >
144- <script is :inline >plausible("404",{ props : { path: document .location .pathname } } );</script >
145- )
146- }
147135 <StructuredData data ={ jsonLd } />
148136 </head >
149137 <body class =" dark:bg-slate-800" >
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import PostBody from "../components/PostBody.astro"
55const title = ` 404 `
66---
77
8- <Layout title ={ title } noindex ={ true } is404 = { true } >
8+ <Layout title ={ title } noindex ={ true } >
99 <main class =" max-w-4xl mx-auto mb-24 px-6 lg:px-0" >
1010 <h1 class =" font-mono text-5xl my-24 mb-8 dark:text-white" >{ title } </h1 >
1111 <PostBody >
You can’t perform that action at this time.
0 commit comments