This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 78504dc9d fix: delete redundant files
78504dc9d is described below

commit 78504dc9d04061af81298d205acd4479ec777294
Author: shuai <[email protected]>
AuthorDate: Wed Sep 11 17:25:13 2024 +0800

    fix: delete redundant files
---
 .../2024-07-11-apache-answer-coc-asia-2024/index.md                    | 2 +-
 .../2024-09-02-answer-recap-august/index.md                            | 0
 plugins/blog-plugin.js                                                 | 3 +++
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-07-11-apache-answer-coc-asia-2024/index.md
 
b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-07-11-apache-answer-coc-asia-2024/index.md
index 1c6e30b76..fa7e60b30 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-07-11-apache-answer-coc-asia-2024/index.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-07-11-apache-answer-coc-asia-2024/index.md
@@ -1,7 +1,7 @@
 ---
 title: "Apache Answer 邀你共赴 CommunityOverCode Asia 2024"
 authors: [Anne]
-category: 社区新闻
+category: Community
 featured: true
 image: [email protected]
 description: "Apache Answer 将亮相主论坛和两个分会场,杭州见。"
diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-blog/2024-09-02-answer-recap-august/index.md
 
b/i18n/zh-CN/docusaurus-plugin-content-blog/2024-09-02-answer-recap-august/index.md
deleted file mode 100644
index e69de29bb..000000000
diff --git a/plugins/blog-plugin.js b/plugins/blog-plugin.js
index ddcffbeef..cd8e4bf60 100644
--- a/plugins/blog-plugin.js
+++ b/plugins/blog-plugin.js
@@ -260,8 +260,11 @@ async function blogPluginExtended(...pluginArgs) {
 
         const categoryProp = {
           label: category.label,
+          count: category.count,
           permalink: generateCategoryPath(category.label),
         };
+
+        console.log('categoryProp', categoryProp);
         const categoryPropPath = await createData(
           `${utils.docuHash(categoryProp.label)}.json`,
           JSON.stringify(categoryProp, null, 2),

Reply via email to