From c39207ff481cf8a24b50c00b1e56eb84768eeb7a Mon Sep 17 00:00:00 2001 From: zoleee <zoleee@sch.bme.hu> Date: Thu, 6 Oct 2022 20:17:41 +0200 Subject: [PATCH] Config set for another tab --- app/docusaurus.config.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/app/docusaurus.config.js b/app/docusaurus.config.js index ed889cb..df73483 100644 --- a/app/docusaurus.config.js +++ b/app/docusaurus.config.js @@ -25,6 +25,7 @@ const config = { sidebarPath: require.resolve("./sidebars.js"), }, blog: { + id: "article", showReadingTime: true, routeBasePath: "/articles", path: "./articles", @@ -50,6 +51,7 @@ const config = { items: [ { to: "/", label: "Főoldal", position: "right" }, { to: "/articles", label: "Cikkek", position: "right" }, + { to: "/network", label: "Hálózatfejlesztés", position: "right" }, { type: "doc", docId: "guides/main", @@ -88,7 +90,15 @@ const config = { }, }), - plugins: ["plugin-image-zoom"], + plugins: [ + "plugin-image-zoom", + ["@docusaurus/plugin-content-blog", { + id: "network", + routeBasePath: "/network", + path: "./network", + showReadingTime: true, + }] + ], i18n: { defaultLocale: "hu", -- GitLab