mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
chore: add no-js class and module to replace it if JavaScript is available
This commit is contained in:
@@ -9,15 +9,21 @@ const { title } = Astro.props;
|
||||
<!DOCTYPE html>
|
||||
<html
|
||||
lang="en"
|
||||
class="box-border scroll-smooth bg-shibui-100 text-[125%] text-shibui-950 dark:bg-shibui-900 dark:text-shibui-200/[0.87]"
|
||||
class="no-js box-border scroll-smooth bg-shibui-100 text-[125%] text-shibui-950 dark:bg-shibui-900 dark:text-shibui-200/[0.87]"
|
||||
>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
|
||||
<title>{title}</title>
|
||||
|
||||
<script type="module">
|
||||
document.documentElement.classList.remove('no-js');
|
||||
document.documentElement.classList.add('js');
|
||||
</script>
|
||||
|
||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||
<link rel="icon" href="/assets/images/branding/favicons/favicon.svg" type="image/svg+xml" />
|
||||
<link rel="apple-touch-icon" href="/assets/images/branding/favicons/apple-touch-icon.png" />
|
||||
|
||||
Reference in New Issue
Block a user