fix: cleanup
This commit is contained in:
parent
16850cf468
commit
04308592ff
7 changed files with 8 additions and 8 deletions
|
|
@ -38,4 +38,4 @@
|
|||
}
|
||||
</style>
|
||||
|
||||
<script type="module" src="/scripts/index.js"></script>
|
||||
<script src="/scripts/index.js"></script>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue