Source

leafstorm.us / layouts / archive.haml

Full commit
%h1 Article Archive

%h2 Browse by tag

%ul.tagcloud
  - tag_cloud.each do |tag|
    %li{:style => "font-size: #{tag.size}pt"}
      %a{:href => "/tags/#{tag.name}/"} #{tag.name}


%h2 Browse by year

%ul.archive
  - @site[:years].each do |year|
    %h3
      %a{:href => "/#{year}/"} #{year}
    %ul
      - @site[:months][year].each do |month|
        %li
          %a{:href => "/#{year}/#{month}/"} #{MONTHS[month]}
          (#{pluralize(articles_for_month(year, month).length, "entry", "entries")})