The static site is built with Middleman.
$ middleman server
$ middleman article "Test Post"
There are two layouts used in this site: source/layout
and source/layouts/layout_with_toc
. Most pages use the default layout and do not need any special consideration. Pages with an automatic Table Of Content (TOC) should use the 2nd layout (which need to be specified in config.rb
). The TOC generator is set to only generatea TOC for h1 tags.
Any stylistic changes must be made to both layouts.
Published pages are in gh-pages
branch. Publishing to Github pages handled by Middleman Github Pages Gem.
The following rake tasks will not run with uncommited changes.
$ rake build # Compile all files into the build directory
$ rake publish # Build and publish to Github Pages