Use history.replaceState ageVerified query and remove ENABLE_VIEW_TRANSITIONS
This commit is contained in:
parent
92123a305d
commit
f57ba9ddc4
19 changed files with 91 additions and 74 deletions
|
|
@ -1,6 +1,4 @@
|
|||
---
|
||||
import { ViewTransitions } from "astro:transitions";
|
||||
import { ENABLE_VIEW_TRANSITIONS } from "astro:env/client";
|
||||
import "../styles/base.css";
|
||||
import "../styles/fonts.css";
|
||||
import DarkModeScript from "../components/DarkModeScript.astro";
|
||||
|
|
@ -29,23 +27,10 @@ const title = pageTitle ? `${pageTitle} | Bad Manners` : "Bad Manners";
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>{title}</title>
|
||||
<link
|
||||
rel="alternate"
|
||||
type="application/rss+xml"
|
||||
href={new URL("/feed.xml", Astro.site)}
|
||||
title="Commission status"
|
||||
/>
|
||||
<link
|
||||
rel="alternate"
|
||||
type="application/rss+xml"
|
||||
href="https://gallery.badmanners.xyz/feed.xml"
|
||||
title="Gallery feed"
|
||||
/>
|
||||
<meta property="og:title" content={title} />
|
||||
<slot name="head-description" />
|
||||
<meta property="og:url" content={Astro.url} />
|
||||
<meta content="/logo.webp" property="og:image" />
|
||||
{ENABLE_VIEW_TRANSITIONS ? <ViewTransitions /> : null}
|
||||
<slot name="head" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="flex min-h-screen flex-col">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue