This directory contains everything needed to generate a basic site using Bagatto.
To run the demo, install or build Bagatto (in-depth installation
instructions are available in the Bagatto manual),
cd into this directory, and then run
You should see Bagatto output its progress as it creates the site. An example output:
code-src/bagatto/demo/basic-site [new-demos !] ⊕ bag index.janet Reading config data spec... Reading pages data spec... Reading css data spec... Beginning 3 jobs... Loaded config Loading pages... [pages] Loading 2 files Loading css (styles.css)... Finished jobs. Reading pages site spec... Reading index site spec... Reading css site spec... Beginning 3 jobs... Rendering pages... Rendering index... Generating path for css... Finished jobs. Starting worker pool with 4 workers... [COPY] site/css/styles.css [WRITE] site/index.html [WRITE] site/pages/bagatto.html [WRITE] site/pages/about.html Terminated worker pool.
The generated HTML will now be available in
site/ and you can open
site/index.html in your web browser.
To compare the output, an already-rendered version of the site is