mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2025-09-11 10:46:16 +02:00
added the option to link older site comments
This commit is contained in:
@@ -14,7 +14,7 @@ interface Props {
|
||||
const Post: React.FC<Props> = ({ post }: Props) => {
|
||||
const { html } = post;
|
||||
const { tagSlugs, slug } = post.fields;
|
||||
const { tags, title, date } = post.frontmatter;
|
||||
const { tags, title, date, disqusId } = post.frontmatter;
|
||||
|
||||
return (
|
||||
<div className={styles.post}>
|
||||
@@ -29,7 +29,7 @@ const Post: React.FC<Props> = ({ post }: Props) => {
|
||||
</div>
|
||||
|
||||
<div className={`${styles.comments} hideInPrintView`}>
|
||||
<Comments postSlug={slug} postTitle={post.frontmatter.title} />
|
||||
<Comments disqusId={disqusId} postSlug={slug} postTitle={post.frontmatter.title} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
Reference in New Issue
Block a user