Skip to content
avdgaag edited this page Jan 20, 2011 · 14 revisions

This is a simple template project for kick-starting a web project using the Nanoc static site generator by Denis Defreyne.

Features

  • Support for Google Analytics, Feedburner and Google Webmaster Tools. Read more »
  • Some extra Rake tasks Read more »
  • Javascript and CSS concatenation and minification Read more »
  • Some nice boilerplate HTML and CSS Read more »
  • Improved typography
  • Caching of static assets
  • Comes with sitemap, htaccess, robots.txt and 404 page
  • Configure htaccess redirects using the configuration file
  • Comes with vendored jquery and modernizr

To Do

  • Document current features better
  • Automatic image optimization using jpgtran and pngcrush.
    The problem here is setting up the required third-party tools. Also, processing images takes a lot of time. This is not really desirable when compiling the site. It should be done once and that's it.

Someday/maybe

  • Automatic thumbnail generation
    An img_tag helper could insert images in the desired size with dimension already filled out. Feels bloated, though.

Occasionally, I extract code and conventions from real-world projects and pull it back into this template. I also try to keep an eye on the HTML5 boilerplate project by Paul Irish, as it is a good source of front-end best practices.

Clone this wiki locally