diff options
-rw-r--r-- | tmpl/index.md.erb.bak | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tmpl/index.md.erb.bak b/tmpl/index.md.erb.bak deleted file mode 100644 index a3ec547..0000000 --- a/tmpl/index.md.erb.bak +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "<%= @title %>" -class: "index" ---- - -<% @sections.keys.sort.each do |path| %> -<% unless path.empty? %>## [<%= @sections[path]['head'] %>](<%= path %>)<% end %> - -<% @sections[path]['body'].sort_by{|a|a.published}.reverse.each do |a| %> - * <span><a <% if a.is_a?(ExternPage) %>class="external" <% end %>href="<%= @url.route_to(a.url) %>" title="Published on <%= a.published.strftime('%Y-%m-%d') %><% if a.updated != a.published %> (updated on<%= a.updated.strftime('%Y-%m-%d') %>)<% end %>"><%= a.title %></a></span><span><% a.tags.each do |t| %><%= t.html %><% end %></span><% end %> - -<% end %> |