Skip to content

Commit

Permalink
Update [...slug].astro
Browse files Browse the repository at this point in the history
  • Loading branch information
jkjoy committed Oct 28, 2024
1 parent 75fb056 commit 4c348d7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/pages/posts/[...slug].astro
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ const jsonLd = {

</div>
</div>

<!-- 使用ArtalkComments组件 -->
<ArtalkComments />
<div class="flex flex-col md:flex-row justify-between mb-4 gap-4 overflow-hidden w-full">
<a href={entry.data.nextSlug ? getPostUrlBySlug(entry.data.nextSlug) : "#"}
class:list={["w-full font-bold overflow-hidden active:scale-95", {"pointer-events-none": !entry.data.nextSlug}]}>
Expand All @@ -130,9 +131,6 @@ const jsonLd = {
</div>}
</a>
</div>

<!-- 使用ArtalkComments组件 -->
<ArtalkComments />
</MainGridLayout>

<style is:global>
Expand Down

0 comments on commit 4c348d7

Please sign in to comment.