Shammy is yet another static site generator. It uses the concepts of merging the real content with a pre-defined template, to build a static site or blog.
Shammy does following actions
Shammy needs a pre-defined folder structure, which is in synch with the standards for the blogs. This action can be invoked by using the command
shammy -i or
This command initializes the folder structure and creates a sample blog.
Following directories and files are created
This directory is created to store assets like css, script , and image files.
This directory contains the main content of the blog. It is initialized with few sample blogs and their meta data.
This directory contains the templates that would be utilized according to different needs.
This is the default config properties file, which contains optional configurations on which Shammy runs.
Following configurations are defined
Bake action combines the content and templates and prepares output which is static HTML site. This is invoked by
shammy -b or
shammy -bake. It also prepares
This action serves the contents of output on a Jetty Server for a quick review. To run your contents on server, just invoke command
shammy -s or
The serve command can be used along with bake command to bake and immediately serve the contents on server. e.g.
shammy -b -s command bakes the contents and serves them on server .