Skip to content

Commit

Permalink
change
Browse files Browse the repository at this point in the history
  • Loading branch information
jkjoy committed Oct 28, 2024
1 parent 22d838c commit 75fb056
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/components/ArtalkComments.astro
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
---
// 引入Artalk的CSS和JS文件
---
<link href="https://artalk.loliko.cn/dist/Artalk.css" rel="stylesheet">
<script src="https://artalk.loliko.cn/dist/Artalk.js" defer></script>

<div id="Comments"></div>

Expand Down
5 changes: 5 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ const bannerOffset = bannerOffsetByPosition[siteConfig.banner.position || 'cente
</script>

<slot name="head"></slot>
<link href="https://artalk.loliko.cn/dist/Artalk.css" rel="stylesheet">
<script src="https://artalk.loliko.cn/dist/Artalk.js" defer></script>

<link rel="stylesheet" href="https://cdn.staticfile.net/KaTeX/0.16.9/katex.min.css" integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV" crossorigin="anonymous">

Expand Down Expand Up @@ -156,6 +158,9 @@ const bannerOffset = bannerOffsetByPosition[siteConfig.banner.position || 'cente
--hue: var(--configHue);
--page-width: 75rem;
}
.atk-copyright {
display: none !important;
}
</style>
<style is:global define:vars={{ bannerOffset }}>
@tailwind components;
Expand Down

0 comments on commit 75fb056

Please sign in to comment.