blob: b276995405671b79d5c9c8e0feea98e9367d9ff6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import { DiscussionEmbed } from "disqus-react";
const DisqusComments = ({ post }) => {
const disqusShortname = "your_disqus_shortname";
const disqusConfig = {
url: post.url,
identifier: post.id, // Single post id
title: `${post.title} - Episode ${post.episode}`, // Single post title
};
return (
<div>
<DiscussionEmbed shortname={disqusShortname} config={disqusConfig} />
</div>
);
};
export default DisqusComments;
|