Share a Zola site preview
Zola builds a site in one binary with no Node install and no dependency tree, which makes the contrast sharper than usual: the build takes milliseconds, and getting one colleague to look at the result takes twenty minutes of deciding where to put it.
Publish the build
zola build --base-url /
Drag public/ (or a zip of it) into the app:
index.htmlbecomes the report body.- CSS, JS, images, fonts and the generated search index upload as assets
with their references rewritten to the uploaded copies — the step that
fails when you open
public/index.htmlfrom disk and every root-relative path resolves against your filesystem. See broken CSS in a shared report. - Scripts run inside a sandboxed iframe, so a theme toggle or the built-in search keeps working.
--base-url / is worth the flag: a preview build should not assume the
hostname it will eventually be served from.