fix(ci): make astro check more strict
This commit is contained in:
parent
be188323e0
commit
9312bb5fb8
8 changed files with 9 additions and 9 deletions
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue