mirror of
https://github.com/SantaSpeen/santaspeen.ru-blog.git
synced 2026-10-28 15:10:05 +00:00
Fixes for .env
This commit is contained in:
1 parent
06bcbd063d
commit
b9caa21536
3 files changed
+36
-29
No files matched your search
@@ -5,19 +5,26 @@ import Giscus from "@giscus/react";
|
||||
|
||||
export default function BlogPostItemWrapper(props) {
|
||||
const { isBlogPostPage } = useBlogPost();
|
||||
|
||||
if (!isBlogPostPage) {
|
||||
return <BlogPostItem {...props} />;
|
||||
}
|
||||
|
||||
const repo = "SantaSpeen/santaspeen.ru-blog"
|
||||
const repoId = "R_kgDOK6Fd_Q"
|
||||
const category = "General"
|
||||
const categoryId = "DIC_kwDOK6Fd_c4Cbwpe"
|
||||
|
||||
return (
|
||||
<>
|
||||
<BlogPostItem {...props} />
|
||||
{(
|
||||
<div className="docusaurus-blog-comments">
|
||||
<Giscus
|
||||
repo="SantaSpeen/santaspeen.ru-blog"
|
||||
repoId="R_kgDOK6Fd_Q"
|
||||
category="General"
|
||||
categoryId="DIC_kwDOK6Fd_c4Cbwpe"
|
||||
repo={repo}
|
||||
repoId={repoId}
|
||||
category={category}
|
||||
categoryId={categoryId}
|
||||
mapping="pathname"
|
||||
reactionsEnabled="1"
|
||||
emitMetadata="0"
|
||||
@@ -30,4 +37,4 @@ export default function BlogPostItemWrapper(props) {
|
||||
)}
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user