Skip to content

Commit 2feb4a3

Browse files
committed
feat: Disable DarkReader
1 parent 19fbaf7 commit 2feb4a3

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

src/layouts/Layout.astro

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
import "@fontsource-variable/onest"
2+
import "@fontsource-variable/onest";
33
4-
import Header from "../components/Header.astro"
5-
import Footer from "../components/Footer.astro"
6-
import { ViewTransitions } from "astro:transitions"
4+
import Header from "../components/Header.astro";
5+
import Footer from "../components/Footer.astro";
6+
import { ViewTransitions } from "astro:transitions";
77
88
interface Props {
9-
title: string
10-
description: string
9+
title: string;
10+
description: string;
1111
}
1212
13-
const { description, title } = Astro.props
13+
const { description, title } = Astro.props;
1414
---
1515

1616
<!doctype html>
@@ -22,6 +22,7 @@ const { description, title } = Astro.props
2222
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
2323
<meta name="generator" content={Astro.generator} />
2424
<title>{title}</title>
25+
<meta name="darkreader-lock" />
2526
<ViewTransitions />
2627
</head>
2728

0 commit comments

Comments
 (0)