From 4c5cb6458c027b87335b85a2c6061a96320ad888 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Wed, 14 Dec 2022 21:38:27 +0100 Subject: [PATCH] blog: initialize Signed-off-by: Matej Focko --- docusaurus.config.js | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 863f2d8..9f6f19e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -79,7 +79,21 @@ const config = { ], ], - plugins: subjects.map(s => s.docs()), + plugins: [ + ...subjects.map(s => s.docs()), + [ + '@docusaurus/plugin-content-blog', + { + id: 'blog', + routeBasePath: 'blog', + path: './blog', + feedOptions: { + type: 'all', + copyright: `Copyright © ${new Date().getFullYear()} Matej Focko.`, + }, + }, + ], + ], stylesheets: [ { @@ -98,6 +112,11 @@ const config = { title: "Additional materials by mf", items: [ ...subjects.map(s => s.navbar()), + { + to: "blog", + position: "right", + label: "Blog", + }, { href: "https://gitlab.fi.muni.cz/xfocko/kb", label: "GitLab",