diff --git a/quartz/components/TagList.tsx b/quartz/components/TagList.tsx index 7c0f619fa..ba48098bd 100644 --- a/quartz/components/TagList.tsx +++ b/quartz/components/TagList.tsx @@ -4,27 +4,25 @@ import { classNames } from "../util/lang" const TagList: QuartzComponent = ({ fileData, displayClass }: QuartzComponentProps) => { const tags = fileData.frontmatter?.tags - const enableTags = fileData.frontmatter?.enableTags ?? true const baseDir = pathToRoot(fileData.slug!) - - if (enableTags === false || !tags || tags.length === 0) { + if (tags && tags.length > 0) { + return ( + + ) + } else { return null } - - return ( - - ) } TagList.css = `