文章页优化
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
import ArticleSidebar from '@/components/ArticleSidebar.astro';
|
||||
import PostCopyrightCard from '@/components/PostCopyrightCard.astro';
|
||||
import BaseLayout from '@/layouts/BaseLayout.astro';
|
||||
import { getAllPosts } from '@/lib/posts';
|
||||
|
||||
@@ -79,6 +80,7 @@ const relatedPosts = allPosts
|
||||
<div class="prose" data-toc={JSON.stringify(toc)}>
|
||||
<Content />
|
||||
</div>
|
||||
<PostCopyrightCard post={post} />
|
||||
</article>
|
||||
<ArticleSidebar post={post} toc={toc} relatedPosts={relatedPosts} />
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user