fix: cleanup

This commit is contained in:
Barrett Ruth 2025-11-09 14:55:50 -05:00
parent 16850cf468
commit 04308592ff
7 changed files with 8 additions and 8 deletions

View file

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

View file

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