Add static SEO and FAQ foundations

This commit is contained in:
Kevin
2026-09-02 01:56:51 -04:00
parent 19bba4282e
commit 245f0e8a7e
10 changed files with 53 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { resolve } from 'node:path';
const key = process.env.SITE_KEY;
if (!key) throw new Error('SITE_KEY is required.');
const root = resolve(`dist/${key}`);
const required = ['index.html', '404.html'];
const required = ['index.html', '404.html', 'robots.txt', 'sitemap.xml'];
if (key === 'www') required.push('about/index.html', 'services/index.html', 'contact/index.html');
for (const file of required) await access(resolve(root, file));