aboutsummaryrefslogtreecommitdiff
path: root/components/disqus.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/disqus.js')
-rw-r--r--components/disqus.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/disqus.js b/components/disqus.js
index b276995..724bec3 100644
--- a/components/disqus.js
+++ b/components/disqus.js
@@ -1,7 +1,7 @@
import { DiscussionEmbed } from "disqus-react";
const DisqusComments = ({ post }) => {
- const disqusShortname = "your_disqus_shortname";
+ const disqusShortname = post.name || "your_disqus_shortname";
const disqusConfig = {
url: post.url,
identifier: post.id, // Single post id