2. Package structure
What matters about the structure: in sections/, each file is a block.
mi-sitio/ ← puede ir dentro de una carpeta contenedora en el .zip
├── bos.json ← obligatorio: manifiesto con "format": 2 y "slug" (ver sección 6)
├── index.html ← opcional: se lee su <head> (fuentes, CDNs, orden de CSS/JS)
├── css/ ← todo .css se carga (también subcarpetas)
├── js/ ← todo .js / .mjs se carga
├── assets/ ← imágenes, fuentes, vídeos...
└── sections/ ← UN ARCHIVO = UN BLOQUE
├── header.html
├── hero.html
└── footer.html- Allowed files: html, css, js, mjs, json, images (jpg, png, gif, webp, avif, svg, ico), fonts (woff, woff2, ttf, otf, eot), media (mp4, webm, ogg, mp3, wav), pdf, vtt, txt and md. Everything else (for example
.phpor.htaccess) is discarded for security, as are paths with../. - Ignored:
node_modules/,.git/,__MACOSX/and hidden files. - Default limits: 5000 files and 250 MB unpacked. They can be changed with the filters
builder_os_max_filesandbuilder_os_max_unpacked_bytes.
Multiple pages
Each file in /sections/ is a block you can reuse on any page. You can group them with data-bos-category or define the pages in bos.json so they are created automatically.
Links between pages
about.html links are automatically converted to /about/, and index.html points to the front page.