diff options
author | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-04-28 11:18:56 +0200 |
---|---|---|
committer | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-05-02 13:31:06 +0200 |
commit | 9ccd8b6a094907600af0ece2368e7d3405d6ebdc (patch) | |
tree | e4818835f23ad90b1cdef533e06fb53ee790365c /source/calendar.html.erb | |
parent | 0ca1257cf4ecbea549c0587c15bebf722b9b6ac6 (diff) |
reorganize content to fit new site structure
Diffstat (limited to 'source/calendar.html.erb')
-rw-r--r-- | source/calendar.html.erb | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/source/calendar.html.erb b/source/calendar.html.erb deleted file mode 100644 index 4cdfdf9..0000000 --- a/source/calendar.html.erb +++ /dev/null @@ -1,33 +0,0 @@ ---- -pageable: true ---- -<h1>Archive for - <% case page_type - when 'day' %> - <%= Date.new(year, month, day).strftime('%b %e %Y') %> - <% when 'month' %> - <%= Date.new(year, month, 1).strftime('%b %Y') %> - <% when 'year' %> - <%= year %> - <% end %> -</h1> - -<% if paginate && num_pages > 1 %> - <p>Page <%= page_number %> of <%= num_pages %></p> - - <% if prev_page %> - <p><%= link_to 'Previous page', prev_page %></p> - <% end %> -<% end %> - -<ul> - <% page_articles.each_with_index do |article, i| %> - <li><%= link_to article.title, article %> <span><%= article.date.strftime('%b %e') %></span></li> - <% end %> -</ul> - -<% if paginate %> - <% if next_page %> - <p><%= link_to 'Next page', next_page %></p> - <% end %> -<% end %> |