Static by default
How to publish an Eleventy site
Eleventy writes plain HTML and copies your assets next to it. There is no runtime and no hydration, so the build output is the whole site.
- Build command
- npx @11ty/eleventy
- Folder to upload
- _site
Free plan, free SSL, no credit card.
-
Build the project
Run npx @11ty/eleventy in the project folder. This is the step Droply does not do for you: we publish finished pages, we never run your build.
-
Find the output folder
The build writes a finished site to _site. That folder, not the project folder, is what gets uploaded.
-
Drag it in
Drop the folder (or a ZIP of it) into Droply. It is live on an HTTPS droply.id subdomain in seconds, and re-uploading publishes a new version at the same URL.
Worth knowing about Eleventy
The output folder is
_siteby default and is set bydir.outputin your Eleventy config. Check the config before you go looking for a folder that is not there.Leave
pathPrefixat/for a Droply subdomain. It exists for sites served from a subfolder, and setting it rewrites your links to a path that does not exist here.Eleventy does not copy files it was not told about. If your CSS or images are missing after publishing, the passthrough copy for that folder is missing from the config, not from the upload.
Did an AI tool build this project?
Hosting an AI-generated website covers the question that comes before the build command: whether what you are holding is a single file or a project, and which of the two every tool actually hands back.