diff --git a/index.html b/index.html index e0ec521..b1a537a 100644 --- a/index.html +++ b/index.html @@ -5,6 +5,9 @@ + + +
${latest.content}
`; + } +} catch (e) { + console.warn("Failed to parse changelog.json", e.message); +} + +// 2. Extract Company Data +let companiesText = ''; +try { + const companyData = JSON.parse(fs.readFileSync(path.join(publicDir, 'company_data.json'), 'utf-8')); + companiesText = `${allStrings.join(' | ')}
`; + } + } catch (e) { + console.warn(`Failed to process locale ${locale.localePath}`, e.message); + } + + // Combine SEO block + const seoBlock = ` + + `; + + // Inject before closing + localizedHtml = localizedHtml.replace('