1
0

Updated footer

This commit is contained in:
2026-03-22 19:06:34 +01:00
parent 0b9353652c
commit 76396cbf7f
4 changed files with 40 additions and 48 deletions

View File

@@ -135,10 +135,10 @@ async function build() {
);
// Inject version string and link
html = html.replace('<span id="commit-hash"></span>', `<span id="commit-hash">${versionStr}</span>`);
html = html.replace('<span id="commit-hash"></span>', `<span id="commit-hash">Version ${versionStr}</span>`);
html = html.replace(
'href="https://github.com/nicoverbruggen/kobopatch-webui"',
`href="${versionLink}"`
'id="commit-link" class="site-footer-link" href="https://github.com/nicoverbruggen/kobopatch-webui"',
`id="commit-link" class="site-footer-link" href="${versionLink}"`
);
writeFileSync(join(distDir, 'index.html'), html);