Skip to content

armgit / bento

Public Imported from GitHub
0

Bento, the office suite that fits in a file

release: emit .nojekyll so GitHub Pages serves .md verbatim (skill 404 fix)

nyblnet091f0ac43277
diff --git a/scripts/release.mjs b/scripts/release.mjs
index daa29791..5580283c 100644
--- a/scripts/release.mjs
+++ b/scripts/release.mjs
@@ -78,6 +78,10 @@ if (key) signArgs.push('--key', key)
execFileSync('node', signArgs, { stdio: 'inherit' })
writeFileSync(join(site, 'CNAME'), 'bento.page\n')
+// The site is fully pre-built static — disable Jekyll so every file is served
+// verbatim. Without this, GitHub Pages' Jekyll processes .md files that carry
+// YAML front matter (e.g. skills/*/SKILL.md) into .html, 404-ing the .md URL.
+writeFileSync(join(site, '.nojekyll'), '')
// The real landing page — assembled from site-src/landing.html with the
// deck's embedded typefaces injected (scripts/build-landing.mjs).