fix isso script
This commit is contained in:
parent
70d3303bfa
commit
78b5489942
@ -6,11 +6,13 @@ import SEO from "../../components/seo";
|
||||
import { MDXProvider } from '@mdx-js/react';
|
||||
import './styles.scss';
|
||||
|
||||
const Comment = () => {
|
||||
const Comment = ({post_id}) => {
|
||||
return (
|
||||
<>
|
||||
<Script data-isso="//comments.nochill.in/"
|
||||
src="//comments.nochill.in/js/embed.min.js" />
|
||||
src="//comments.nochill.in/js/embed.min.js"
|
||||
id={post_id}
|
||||
/>
|
||||
|
||||
<section id="isso-thread">
|
||||
<noscript>Javascript needs to be activated to view comments.</noscript>
|
||||
@ -47,9 +49,7 @@ const Layout = ({ data, children }) => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{ loadComment &&
|
||||
<Comment />
|
||||
}
|
||||
<Comment post_id={post.title}/>
|
||||
</Base>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user