diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 33593de..2752023 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -1,8 +1,6 @@ import { generateSitemap as sitemap } from "sitemap-ts"; import { PageData, defineConfig } from "vitepress"; -const links = []; - function getJSONLD(pageData: PageData) { if (pageData.relativePath === "index.md") { return `{ @@ -30,7 +28,7 @@ function getJSONLD(pageData: PageData) { return `{ "@context":"http://schema.org", "@type":"TechArticle", - "headline":"NixOS & Flakes Book", + "headline":"${pageData.title} | NixOS & Flakes Book", "inLanguage":"${lang}", "mainEntityOfPage":{ "@type":"WebPage",