fix: script url
This commit is contained in:
parent
bf0c348587
commit
202bc3a785
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ const topicColor = getTopicColor(post.collection);
|
||||||
|
|
||||||
<Fragment slot="scripts">
|
<Fragment slot="scripts">
|
||||||
<script type="module" src="/scripts/index.js"></script>
|
<script type="module" src="/scripts/index.js"></script>
|
||||||
<script src="/scripts/centerKatex.js" is:inline></script>
|
<script type="module" src="/scripts/centerKatex.js"></script>
|
||||||
{frontmatter.scripts?.map((src) => <script type="module" src={src} />)}
|
{frontmatter.scripts?.map((src) => <script type="module" src={src} />)}
|
||||||
<slot name="scripts" />
|
<slot name="scripts" />
|
||||||
</Fragment>
|
</Fragment>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue