Skip to content

Commit 63e7863

Browse files
committed
fix: comment true 일때만 댓글 활성화
1 parent cf4613d commit 63e7863

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/PostLayout/PostLayout.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ const { Layout } = DefaultTheme;
66
77
const { frontmatter } = useData();
88
9-
// comments가 false가 아닌 경우 댓글을 표시 (기본값은 true)
10-
const showComments = frontmatter.value.comments !== false;
9+
const showComments = frontmatter.value.comment === true;
1110
</script>
1211

1312
<template>

0 commit comments

Comments
 (0)