add comment
This commit is contained in:
parent
ced22dfca4
commit
912c0b8f36
@ -1,11 +1,24 @@
|
||||
import React from "react";
|
||||
import { graphql } from "gatsby";
|
||||
import { graphql, Script } from "gatsby";
|
||||
import config from '../../../data/site-config';
|
||||
import Base from "../../components/Base";
|
||||
import SEO from "../../components/seo";
|
||||
import { MDXProvider } from '@mdx-js/react';
|
||||
import './styles.scss';
|
||||
|
||||
const Comment = () => {
|
||||
return (
|
||||
<>
|
||||
<Script data-isso="//comments.nochill.in/"
|
||||
src="//comments.nochill.in/js/embed.min.js" />
|
||||
|
||||
<section id="isso-thread">
|
||||
<noscript>Javascript needs to be activated to view comments.</noscript>
|
||||
</section>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
const Layout = ({ data, children }) => {
|
||||
const post = data.mdx.frontmatter;
|
||||
return (
|
||||
@ -28,6 +41,7 @@ const Layout = ({ data, children }) => {
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Comment />
|
||||
</Base>
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user