Fix comments section

This commit is contained in:
2020-10-01 21:25:03 -05:00
parent 642cb78e80
commit 0aacdbfc3f
2 changed files with 16 additions and 11 deletions

2
public

Submodule public updated: e90318a454...a198c077f8

View File

@@ -33,16 +33,21 @@ export default function Post({ data }) {
<div dangerouslySetInnerHTML={{ __html: post.html }} /> <div dangerouslySetInnerHTML={{ __html: post.html }} />
</article> </article>
<DiscussionEmbed <section class="comments">
shortname='fishybusiness' <a id="comments-section">
config={ <h2>Comments</h2>
{ </a>
url: "https://www.benramey.com" + post.fields.slug, <DiscussionEmbed
identifier: post.fields.slug, shortname='fishybusiness'
title: post.frontmatter.title, config={
language: 'en_US' {
} url: "https://www.benramey.com" + post.fields.slug,
} /> identifier: post.fields.slug,
title: post.frontmatter.title,
language: 'en_US'
}
} />
</section>
</Layout> </Layout>
) )
} }