You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2021/11/10 11:55:13 UTC

[incubator-inlong-website] branch master updated: [INLONG-1583] add blog tab (#183)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 02801e8  [INLONG-1583] add blog tab (#183)
02801e8 is described below

commit 02801e85f9482b73efcc5c4159d8b7c054276ce0
Author: lizhwang <88...@users.noreply.github.com>
AuthorDate: Wed Nov 10 19:55:07 2021 +0800

    [INLONG-1583] add blog tab (#183)
---
 docusaurus.config.js                            | 6 +++++-
 i18n/zh-CN/docusaurus-theme-classic/navbar.json | 4 ++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/docusaurus.config.js b/docusaurus.config.js
index effacec..ab320c1 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -85,7 +85,11 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
             position: 'right',
             activeBaseRegex: `/development/`,
           },
-          // {to: '/blog', label: 'Blog', position: 'right'},
+          {
+            to: '/blog',
+            label: 'BLOG',
+            position: 'right'
+          },
           {
             label: 'ASF',
             position: 'right',
diff --git a/i18n/zh-CN/docusaurus-theme-classic/navbar.json b/i18n/zh-CN/docusaurus-theme-classic/navbar.json
index b3dc0ff..6a0ddcb 100644
--- a/i18n/zh-CN/docusaurus-theme-classic/navbar.json
+++ b/i18n/zh-CN/docusaurus-theme-classic/navbar.json
@@ -15,6 +15,10 @@
     "message": "开发",
     "description": "Navbar item with label DEVELOPMENT"
   },
+  "item.label.BLOG": {
+    "message": "博客",
+    "description": "Navbar item with label BLOG"
+  },
   "item.label.ASF": {
     "message": "Apache",
     "description": "Navbar item with label ASF"