Updates
This commit is contained in:
@@ -4,7 +4,7 @@ import {getImage} from "astro:assets";
|
||||
import {astroI18n} from "astro-i18n";
|
||||
import {SEO} from "astro-seo";
|
||||
import {ViewTransitions} from "astro:transitions";
|
||||
const {title, description} = Astro.props.frontmatter || Astro.props;
|
||||
const {title, description, clientSideRouter = true} = Astro.props.frontmatter || Astro.props;
|
||||
|
||||
import "../../public/fonts/roboto/roboto.css";
|
||||
|
||||
@@ -40,7 +40,7 @@ if (localStorage["theme-mode"] === "light" || (!("theme-mode" in localStorage) &
|
||||
|
||||
<slot name="head"/>
|
||||
|
||||
<ViewTransitions />
|
||||
{clientSideRouter && <ViewTransitions/>}
|
||||
</head>
|
||||
<body class="dark:bg-zinc-800">
|
||||
<slot/>
|
||||
|
||||
Reference in New Issue
Block a user