feat: update TableOfContents component for improved heading indentation and add new post "Qui Sumus"
All checks were successful
Build and Deploy Blog / build-and-deploy-local (push) Successful in 6m14s

This commit is contained in:
2026-07-20 00:19:12 +02:00
parent e2557d4a90
commit 997f9e3e98
3 changed files with 340 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ export interface PostMeta {
}
function extractHeadings(content: string): Heading[] {
const regex = /^(#{2,3})\s+(.+)$/gm;
const regex = /^(#{1,3})\s+(.+)$/gm;
const headings: Heading[] = [];
let match;
while ((match = regex.exec(content)) !== null) {