Skip to content

Commit

Permalink
feat: 영어 포스팅은 태그 카운트에서 제외
Browse files Browse the repository at this point in the history
  • Loading branch information
junghyeonsu committed Jan 7, 2024
1 parent 370fb86 commit 2091f61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Tags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ interface TagsProps {
export default function Tags({ currentTag }: TagsProps) {
const data = useStaticQuery(graphql`
query Tags {
allMdx(filter: { frontmatter: { title: { nin: "정현수 포트폴리오" } } }) {
allMdx(
filter: { frontmatter: { title: { nin: "정현수 포트폴리오" }, locale: { eq: null } } }
) {
group(field: { frontmatter: { tags: SELECT } }) {
tagPostCount: totalCount
tag: fieldValue
Expand Down

0 comments on commit 2091f61

Please sign in to comment.