blog: initialize

Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
Matej Focko 2022-12-14 21:38:27 +01:00
parent 2ddd0a3a05
commit 4c5cb6458c
Signed by: mfocko
GPG key ID: 7C47D46246790496

View file

@ -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",