diff --git a/layout/_partial/article-meta-info.ejs b/layout/_partial/article-meta-info.ejs index 4c3ea34a..6b81c1d6 100644 --- a/layout/_partial/article-meta-info.ejs +++ b/layout/_partial/article-meta-info.ejs @@ -25,7 +25,7 @@ const home_tag_limit_number = theme?.home_article?.tag?.limit || 3 <% } %> - <% if ((post.categories.length && theme?.home_article?.category?.enable === true) || page_type === 'post') { %> + <% if (post.categories.length && (theme?.home_article?.category?.enable === true || page_type === 'post')) { %>