Using nanoc for static site generation. Jekyll/Octopress are hard-coded for blogging, while Nanoc is much simpler, doesn't take any assumptions and allows to build whatever type of content (not just blogs).
To start developing,
- Clone this repository
- Forget about whatever present in the root folder
- Worry only about the
generator
folder cd generator
and dobundle install
. You'll need RVM + Ruby 2.0- Make changes (see below folder structure). Mostly you'll be dealing with
generator/content
- Run
nanoc
to compile the website - Run
nanoc view
to start a server and browse tolocalhost:3000
For ease, there is a Guardfile. You can run bundle exec guard
, it will keep watching for changes and re-compile the site whenever any file is changed.
generator
- this is the main source code, rest are all generated source code that can be ignoredgenerator/assets
- contains all assetsgenerator/assets/app.sass
- contains the main stylesheetgenerator/assets/img/speakers
- contains speaker imagesgenerator/content
- content for each geek nightgenerator/layouts
- layouts for default and archive versionsgenerator/Rules
- routing rules
- Pure HTML/CSS/Javascript website. No JQuery.
- Used HTML5 Boilerplate to generate the skeleton.
- Used colourlovers.com for the color swatches.
- Using SASS and Foundation for all the Styling.
- Icon fonts were generated and downloaded from Fontello. Only icons from the Modern Pictogram set were used for consistency.