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

albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 1f4ac064602 Fix config toml
1f4ac064602 is described below

commit 1f4ac0646029316434ec3415b2cd85677cd1224f
Author: Albumen Kevin <[email protected]>
AuthorDate: Fri Sep 13 16:05:27 2024 +0800

    Fix config toml
---
 cn_config.toml | 108 ++++++++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 80 insertions(+), 28 deletions(-)

diff --git a/cn_config.toml b/cn_config.toml
index 8fd6d8df161..0692a8ba5a8 100644
--- a/cn_config.toml
+++ b/cn_config.toml
@@ -68,6 +68,81 @@ contentDir = "content/zh-cn"
 #time_format_default = "02.01.2006"
 #time_format_blog = "02.01.2006"
 
+[languages.en.params.community]
+navLabel = "COMMUNITY"
+weight = 2
+[[languages.en.params.community.navOptions.items]]
+name = "News"
+url = "/en/blog/news/"
+[[languages.en.params.community.navOptions.items]]
+name = "Security Notices"
+url = "/en/overview/notices/"
+[[languages.en.params.community.navOptions.items]]
+name = "Contributor's Guide"
+url = "/zh-cn/contact/"
+#    [[languages.en.params.community.navOptions.items]]
+#        name = "Meet The Team"
+#        url = ""
+
+# Weight used for sorting.
+weight = 2
+[languages.zh-cn.params.community]
+navLabel = "联系社区"
+weight = 2
+[[languages.zh-cn.params.community.navOptions.items]]
+name = "新闻"
+url = "/zh-cn/blog/news/"
+[[languages.zh-cn.params.community.navOptions.items]]
+name = "安全公告"
+url = "/zh-cn/overview/notices/"
+[[languages.zh-cn.params.community.navOptions.items]]
+name = "贡献者指南"
+url = "/zh-cn/contact/"
+#    [[languages.zh-cn.params.community.navOptions.items]]
+#        name = "认识团队"
+#        url = ""
+
+
+
+[languages.en.params.ecosystem]
+navLabel = "ECOSYSTEM"
+weight = 2
+[[languages.en.params.ecosystem.navOptions.items]]
+name = "Code Generator"
+url = "https://start.dubbo.apache.org/";
+[[languages.en.params.ecosystem.navOptions.items]]
+name = "Visualizable Console"
+url = "/zh-cn/overview/mannual/control-plane/"
+#    [[languages.en.params.ecosystem.navOptions.items]]
+#        name = "Benchmarking"
+#        url = 
"http://47.251.95.138:3000/public-dashboards/b75030ae3d0f402ca06b6826de3b590b?orgId=1";
+[[languages.en.params.ecosystem.navOptions.items]]
+name = "Proxyless Mesh"
+url = "/zh-cn/overview/what/core-features/service-mesh/"
+[[languages.en.params.ecosystem.navOptions.items]]
+name = "More Demos"
+url = "https://github.com/apache/dubbo-samples";
+
+
+[languages.zh-cn.params.ecosystem]
+navLabel = "生态"
+weight = 2
+[[languages.zh-cn.params.ecosystem.navOptions.items]]
+name = "代码生成"
+url = "https://start.dubbo.apache.org/";
+[[languages.zh-cn.params.ecosystem.navOptions.items]]
+name = "可视化控制台"
+url = "/zh-cn/overview/mannual/control-plane/"
+#    [[languages.zh-cn.params.ecosystem.navOptions.items]]
+#        name = "商城系统"
+#        url = 
"http://47.251.95.138:3000/public-dashboards/b75030ae3d0f402ca06b6826de3b590b?orgId=1";
+[[languages.zh-cn.params.ecosystem.navOptions.items]]
+name = "无代理网格"
+url = "/zh-cn/overview/what/core-features/service-mesh/"
+[[languages.zh-cn.params.ecosystem.navOptions.items]]
+name = "更多样例"
+url = "https://github.com/apache/dubbo-samples";
+
 [markup]
 [markup.goldmark]
 [markup.goldmark.renderer]
@@ -94,20 +169,13 @@ github_branch = "master"
 # Specify a value here if your content directory is not in your repo's root 
directory
 # github_subdir = ""
 
-# Enable syntax highlighting and copy buttons on code blocks with Prism
-#prism_syntax_highlighting = false
-
 #gcs_engine_id = "011737558837375720776:fsdu1nryfng"
 
 algolia_docsearch = true
 offlineSearch = false
 
 
-[[menu.main]]
-    name = "Initializer"
-    weight = 50
-    url = "https://start.dubbo.apache.org/bootstrap.html";
-    post = "<i class='fas fa-external-link-alt'></i>"
+
 #[[menu.main]]
 #    name = "Admin"
 #    weight = 60
@@ -140,6 +208,9 @@ offlineSearch = false
 #   en.docs.url = 
"https://chickenlj.github.io/incubator-dubbo-website/en/admin/";
 #   cn.docs.url = 
"https://chickenlj.github.io/incubator-dubbo-website/cn/admin/";
 
+# Enable syntax highlighting and copy buttons on code blocks with Prism
+#prism_syntax_highlighting = false
+
 # User interface configuration
 [params.ui]
 # https://github.com/gohugoio/hugo/issues/8918#issuecomment-903314696
@@ -156,7 +227,7 @@ sidebar_search_disable = true
 navbar_logo = false
 # Set to true to disable the About link in the site footer
 footer_about_disable = true
-navbar_translucent_over_cover_disable = false
+navbar_translucent_over_cover_disable = true
 
 # Adds a H2 section titled "Feedback" to the bottom of each doc. The responses 
are sent to Google Analytics as events.
 # This feature depends on [services.googleAnalytics] and will be disabled if 
"services.googleAnalytics.id" is not set.
@@ -209,24 +280,6 @@ icon = "fa fa-envelope"
 desc = "Discuss development issues around the project"
 
 
-[params.ecosystem]
-navLabel = "生态"
-  [params.ecosystem.navOptions]
-    [[params.ecosystem.navOptions.items]]
-        name = "Launch A Project"
-        url = "/zh-cn/blog"
-    [[params.ecosystem.navOptions.items]]
-        name = "可视化控制台"
-        url = "/zh-cn/download"
-    [[params.ecosystem.navOptions.items]]
-        name = "商城系统"
-        url = "/option-3"
-    [[params.ecosystem.navOptions.items]]
-        name = "Benchmark"
-        url = "/option-3"
-    [[params.ecosystem.navOptions.items]]
-        name = "Proxyless Mesh"
-        url = "/option-3"
 
 [sitemap]
 changefreq = "monthly"
@@ -235,4 +288,3 @@ priority = 0.5
 
 [taxonomies]
 tag = "tags"
-

Reply via email to