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

@ -38,4 +38,4 @@
}
</style>
<script type="module" src="/scripts/index.js"></script>
<script src="/scripts/index.js"></script>

View file

@ -40,4 +40,4 @@ const promptText = topic ? `barrett@ruth:~$ ${topic}` : "barrett@ruth:~$";
}
</style>
<script type="module" src="/scripts/index.js"></script>
<script src="/scripts/index.js"></script>

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>

View file

@ -11,7 +11,7 @@ gists.sort(sortItem);
<BaseLayout title={title}>
<slot name="head" slot="head">
<link rel="stylesheet" href="/styles/index.css" />
<script type="module" src="/scripts/index.js"></script>
<script src="/scripts/index.js"></script>
</slot>
<div class="content">

View file

@ -11,7 +11,7 @@ repos.sort(sortItem);
<BaseLayout title={title}>
<slot name="head" slot="head">
<link rel="stylesheet" href="/styles/index.css" />
<script type="module" src="/scripts/index.js"></script>
<script src="/scripts/index.js"></script>
</slot>
<div class="content">

View file

@ -64,5 +64,5 @@ for (const c of CATS) {
<script slot="scripts" define:vars={{ postsByCategory }}>
window.postsByCategory = postsByCategory;
</script>
<script slot="scripts" type="module" src="/scripts/index.js"></script>
<script slot="scripts" src="/scripts/index.js"></script>
</BaseLayout>