docs: remove blog in favor of news page

This commit is contained in:
Folke Lemaitre 2024-06-24 08:35:16 +02:00
parent dec94b8318
commit 94ff3903c3
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 17 additions and 16 deletions

View file

@ -34,7 +34,7 @@ const config: Config = {
sidebarPath: "./sidebars.ts",
editUrl: "https://github.com/folke/lazy.nvim/tree/docs/",
},
// blog: false,
blog: false,
theme: {
customCss: "./src/css/custom.css",
},
@ -66,8 +66,13 @@ const config: Config = {
src: "img/icon.svg",
},
items: [
{ to: "/", label: "Docs", position: "left" },
{ to: "blog", label: "Blog", position: "left" },
{
to: "/",
label: "Docs",
position: "left",
activeBaseRegex: "^(?!.*news).*$",
},
{ to: "news", label: "News", position: "left" },
...require("./socials.ts"),
],
},