feat: add giscus (unfinished)
This commit is contained in:
1 parent
df30781cdc
commit
361d28797e
4 files changed
+56
No files matched your search
@@ -11,6 +11,7 @@ import License from "@components/misc/License.astro";
|
||||
import {licenseConfig} from "src/config";
|
||||
import Markdown from "@components/misc/Markdown.astro";
|
||||
import path from "path";
|
||||
import Comment from "@components/Comment.astro";
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const blogEntries = await getCollection('posts', ({ data }) => {
|
||||
@@ -109,6 +110,9 @@ const { remarkPluginFrontmatter } = await entry.render();
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Comment -->
|
||||
<Comment postId={entry.slug}></Comment>
|
||||
|
||||
</MainGridLayout>
|
||||
|
||||
<style is:global>
|
||||
|
||||
Reference in new issue
Block a user