content: leere Blog-Seite entfernen
blog.html hatte keine Beiträge und war nirgends verlinkt, stand aber in der Sitemap. Sitemap, SEO-Config und SEO-Test entsprechend angepasst. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6ae031b3cb
commit
a41c16990f
4 files changed
+2
-90
No files matched your search
@@ -155,7 +155,7 @@ if (wants('core')) {
|
||||
});
|
||||
|
||||
check('SEO-Bake meldet übersprungene HTML-Seiten als Fehler', () => {
|
||||
const file = path.join(PUBLIC, 'blog.html');
|
||||
const file = path.join(PUBLIC, 'impressum.html');
|
||||
const original = readFileSync(file, 'utf8');
|
||||
let failure;
|
||||
try {
|
||||
@@ -169,7 +169,7 @@ if (wants('core')) {
|
||||
writeFileSync(file, original);
|
||||
}
|
||||
assert.ok(failure, 'das Backen muss bei übersprungenen HTML-Seiten fehlschlagen');
|
||||
assert.match(String(failure.stderr), /kein <\/head> in blog\.html/);
|
||||
assert.match(String(failure.stderr), /kein <\/head> in impressum\.html/);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user