fix(ci): make astro check more strict

This commit is contained in:
Barrett Ruth 2025-11-09 14:59:59 -05:00
parent be188323e0
commit 9312bb5fb8
8 changed files with 9 additions and 9 deletions

View file

@ -10,7 +10,7 @@ const { frontmatter } = Astro.props;
<link rel="stylesheet" href="/styles/posts.css" />
<link rel="stylesheet" href="/styles/git.css" />
<slot name="head" />
<script src="/scripts/index.js"></script>
<script src="/scripts/index.js" is:inline></script>
</head>
<body>
<header class="post-header">

View file

@ -64,9 +64,9 @@ const topicColor = getTopicColor(post?.collection);
</div>
<Fragment slot="scripts">
<script src="/scripts/index.js"></script>
<script src="/scripts/index.js" is:inline></script>
<script src="/scripts/centerKatex.js" is:inline></script>
{frontmatter.scripts?.map((src) => <script src={src} />)}
{frontmatter.scripts?.map((src) => <script src={src} is:inline />)}
<slot name="scripts" />
</Fragment>
</BaseLayout>