diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-06 23:47:49 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-06 23:47:49 -0500 |
commit | 2db85d4d3bff943629709cacc3d976c24951b8aa (patch) | |
tree | c0218e99a0814cbec330c8ede9c821b52457fef5 /tmpl | |
parent | 4a3a404a5cb2a8d5be83e28cec5c539928fa30f4 (diff) |
index local_input
Diffstat (limited to 'tmpl')
-rw-r--r-- | tmpl/index.md.erb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tmpl/index.md.erb b/tmpl/index.md.erb index 680647d..2febcb5 100644 --- a/tmpl/index.md.erb +++ b/tmpl/index.md.erb @@ -3,5 +3,4 @@ title: "<%= atom_title %>" class: "index" --- -<% index_pages.sort_by{|a|a.atom_published}.reverse.each do |a| %> - * <span><a <% if a.is_a?(RemotePage) %>class="external" <% end %>href="<%= Config::get.url.route_to(a.url) %>" title="Published on <%= a.atom_published.strftime('%Y-%m-%d') %><% if a.atom_updated != a.atom_published %> (updated on<%= a.atom_updated.strftime('%Y-%m-%d') %>)<% end %>"><%= a.title %></a></span><span><% a.atom_categories.each do |t| %><%= t.html %><% end %></span><% end %> +<%= index_link(url, 1) %> |