feat: added a tag to allow for featured notes

This commit is contained in:
venus
2026-09-22 16:52:58 -05:00
parent f77b43c766
commit 2c22255855
4 changed files with 167 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ test("Build & Link Integrity: Output inspection and link verification", () => {
// 2. HTML Boilerplate Invariants
assert.match(content, /<!DOCTYPE html>/i, `${relHtml} must contain <!DOCTYPE html>`);
assert.match(content, /<meta\s+name="viewport"/i, `${relHtml} must have viewport meta tag`);
assert.match(content, /<link\s+rel="stylesheet"\s+href="\/assets\/css\/main\.css">/i, `${relHtml} must link to main.css`);
assert.match(content, /<link\s+rel="stylesheet"\s+href="\/assets\/css\/main\.css(?:\?[^"]*)?">/i, `${relHtml} must link to main.css`);
// 3. Internal Link Integrity (No 404s!)
const internalLinks = [...content.matchAll(/href="(\/[^"#?]*)"/g)].map((m) => m[1]);