middleman

middleman init

html5 boilerplate middleman init my_new_mobile_project --template=html5

smacss middleman init my_new_mobile_project --template=smacss

mobile boilerplate middleman init my_new_mobile_project --template=mobile

blog.articles

article.title article.url article.data.strftime '%b %e, %Y'

blog.tags.each do |tag, articles| link_to tag, tag_path(tag) articles.size end

blog.articles.group_by {|a| a.date.year}.each do |year, articles| link_to year, blog_year_path(year) articles.size end

<%= feed_tag :atom, "#{blog.options.prefix.to_s}/feed.xml", title: "Atom Feed" %>