Link primary demo site to its journal

This commit is contained in:
Kevin
2026-09-03 10:44:48 -04:00
parent dec4d22d46
commit 7016526d93
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -18,6 +18,7 @@ for (const { file, html } of pages) {
const home = await readFile(resolve(root, 'index.html'), 'utf8');
if (key === 'www') {
for (const { file, html } of pages) if (!html.includes('href="https://blog.3031023.xyz/"')) throw new Error(`${file} is missing the Happy Tails Journal link.`);
for (const question of ['What services do you offer?', 'How do I book a visit?', 'How far ahead should I book pet care?', 'Can you accommodate special routines?']) if (!home.includes(question)) throw new Error(`Primary FAQ Markdown entry is missing: ${question}.`);
if (home.includes('What information should I bring to a meet and greet?')) throw new Error('Draft FAQ entry appeared in the homepage.');
const services = await readFile(resolve(root, 'services/index.html'), 'utf8');