stog-tmpl is a command-line utility to generate website skeletons.

In the example below, we create a skeleton for the website of a software. The web site title will be "Foobar", and the software name is "foobar":

mkdir tmp stog-tmpl \ -d tmp # output to tmp instead of current directory \ -t software # use the software template (which is the default) \ --site-title Foobar # set website title \ --sw-name foobar # set software name

This results in the following tree of files:

The generated Makefile defines various targets, including:

site
compile the site
test
compile the site in test mode, i.e. using the destination directory as base url
server
run a local server on http://localhost:8080/preview/index.html to get a live preview of the website while you edit the source files.