feat: enabled blog (still need to write the release post for 11.0)

This commit is contained in:
Folke Lemaitre 2024-06-23 18:44:23 +02:00
parent 327ac45d57
commit 2c33b870dc
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
2 changed files with 24 additions and 2 deletions

18
blog/2024-06-22-v11.md Normal file
View File

@ -0,0 +1,18 @@
---
title: What's New in v11.0?
tags:
- release
---
Learn about the new features and improvements in **lazy.nvim** v11.0
<!-- truncate -->
Lazy now automatically resolves specs from:
- a plugin's `lazy.lua` file
- a plugin's rockspec
- a plugin's packspec (experimental, since the format is not quite there yet)
This PR also includes a big rewrite of how a final spec is resolved based on a plugin's spec fragments.
Should be a tiny bit faster, but more importantly, fixes some issues and is easier to maintain.

View File

@ -34,7 +34,7 @@ const config: Config = {
sidebarPath: "./sidebars.ts", sidebarPath: "./sidebars.ts",
editUrl: "https://github.com/folke/lazy.nvim/tree/docs/", editUrl: "https://github.com/folke/lazy.nvim/tree/docs/",
}, },
blog: false, // blog: false,
theme: { theme: {
customCss: "./src/css/custom.css", customCss: "./src/css/custom.css",
}, },
@ -65,7 +65,11 @@ const config: Config = {
alt: "lazy.nvim Logo", alt: "lazy.nvim Logo",
src: "img/icon.svg", src: "img/icon.svg",
}, },
items: [...require("./socials.ts")], items: [
{ to: "/", label: "Docs", position: "left" },
{ to: "blog", label: "Blog", position: "left" },
...require("./socials.ts"),
],
}, },
footer: { footer: {
style: "dark", style: "dark",