feat: Add content footer, update tools and layout components

This commit is contained in:
KazooTTT
2025-02-08 16:41:53 +08:00
parent 8043294a72
commit 5f13ceb06a
8 changed files with 80 additions and 16 deletions

View File

@ -8,6 +8,7 @@ import GiscusComment from "@/components/componentsBefore/GiscusComment";
import BaseLayout from "./Base.astro";
import ArticleContainer from "@/components/ArticleContainer.astro";
import ShareButtons from "@/components/ShareButtons.astro";
import ContentFooter from "@/components/ContentFooter.astro";
interface Props {
post: CollectionEntry<"post">;
@ -51,6 +52,7 @@ const readingTime: string = remarkPluginFrontmatter.readingTime;
>
<slot />
<WebMentions />
<ContentFooter />
<GiscusComment client:load />
<div class="mt-8 border-t pt-4">
<ShareButtons />
@ -73,6 +75,7 @@ const readingTime: string = remarkPluginFrontmatter.readingTime;
<WebMentions />
</div>
</div>
<ContentFooter />
<GiscusComment client:load />
<div class="mt-8 border-t pt-4">
<ShareButtons />