dodo: A Template for toto
August 10th 2011What is dodo?
Dodo is a personal blogging template for the compact, hacker-friendly blog engine toto. Dodo looks beautiful and degrades gracefully thanks to HTML5 Boilerplate, jQuery, modernizr, hyphenator.js, and highlighter.js. All posts are written in John Gruber’s excellent markdown syntax and published to Heroku using git.
Dodo was written by Anthony Prestia and you can see it in action on his personal blog.
Want to try dodo?
Assuming you are already a GitHub and Heroku user, setup takes less than 10 seconds:
$ git clone git://github.com/prestia/dodo.git <blog_name>
$ cd <blog_name>
$ heroku create <blog_name>
$ git push heroku master
Configuration
Once installed, you can configure dodo by modifying the config.ru file. The default options are as follows:
set :blog_title, '' # main blog title
set :author, '' # blog author
set :root, "index" # page to load on /
set :markdown, :smart # use markdown + smart-mode
set :disqus, '' # disqus id, or false
set :fulltext, '' # for index, true or false
set :summary, :max => 150, :delim => //
set :ext, 'txt' # file extension for articles
set :cache, 28800 # cache duration, in seconds
set :git, false # github username
set :twitter, false # twitter username
set :description, '' # default blog description
set :main_url, '' # main, non-blog url
set :analytics, '' # your site's Google Analytics ID
set :date, lambda {|now| now.strftime("%B #{now.day.ordinal} %Y") } # date format for articles
Problems?
Dodo is a work in progress. While it is perfectly stable, some code is still a bit messy and there may be some layout hiccups. If you have any problems using dodo, please submit them here.
Read this far? Then you should follow me on twitter here.