diff --git a/public/eventfotografie.html b/public/eventfotografie.html
index 1506cce..f3617ad 100644
--- a/public/eventfotografie.html
+++ b/public/eventfotografie.html
@@ -19,7 +19,7 @@
diff --git a/scripts/check-seo.mjs b/scripts/check-seo.mjs
index f52f1fe..d099ac5 100644
--- a/scripts/check-seo.mjs
+++ b/scripts/check-seo.mjs
@@ -293,6 +293,25 @@ if (wants('links')) {
});
}
+if (wants('syntax')) {
+ check('alle ausführbaren Inline-Skripte der Top-Level-Seiten sind syntaktisch gültig', () => {
+ const files = readdirSync(PUBLIC).filter((file) => file.endsWith('.html')).sort();
+ for (const file of files) {
+ const html = pageHtml(file);
+ const scripts = Array.from(
+ html.matchAll(/