BoxLang 🚀 A New JVM Dynamic Language Learn More...
A static site generator implemented in CommandBox
box install commandbox-ssg
box
mkdir my-test-site --cd
echo "### Hello from commandbox-ssg" > index.md
ssg build
0.2.2
skip_beautify
flag in favor on content type detection. Only html files will be parsed using jSoup0.2.1
skip_beautify
front matter attribute to skip jSoup parsing. Fixes an issue where non-html files would get wrapped in html/body tags0.2.0
0.1.3
_site/
directory by default. This was causing issues when passthrough folders contained markdown files.published
flag set to false.template
cache to render pages instead of collections.all
. The excludeFromCollections
flag should finally work correctly.0.1.2
onBuildReady()
event will fire once configuration has been loaded if it exists in applicationHelper.cfm
beforeProcessCollections()
event will fire once template data has been loaded but before processCollectionsData()
is executed if it exists in applicationHelper.cfm
beforeGenerate()
event will fire after collections and pagination has been processed and before static generation if it exists in applicationHelper.cfm
0.1.1
0.1.0
publishDate
property has been renamed date
. The value will default to lastModified time of the file unless explicitly set_data/**.json
files can now be nested--showconfig
will now output details about the process and the ssg-config0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
build
command has been restructured to get pagination working.prc.outFile
and not by directory structure and fileSlugpagination
flag it will be removed from collections.all
. Only renedered templates are retained0.0.9
ssg watch
command and will trigger a build when a change is detectedfind
instead of contains
when checking layout/view arrays to determine if the item exists0.0.8
/_includes
directory will is automatically excluded0.0.7
ssg init
behavior when scaffolding application. It should work properly on Windows now.0.0.6
ssg serve
command that writes out the required .htaccess
and server.json
to serve static content if not already present. Also starts a static web server to see your changes.0.0.5
view
attribute to specify how a template is rendered irregardless of type. If view is not spcified it will fall back to type
view
or type
attributes when renderingssg_state
variable that monitors folder structure and which layouts/includes exist
$
box install commandbox-ssg