From a6fa6e3fcb032e2867b744fb6e9fee362cc8cd3a Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 3 Jan 2017 21:52:42 -0500 Subject: external link icon --- bin/index.md.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/index.md.erb b/bin/index.md.erb index 34f8677..05ec43f 100644 --- a/bin/index.md.erb +++ b/bin/index.md.erb @@ -4,4 +4,4 @@ class: "index" --- <% @pages.sort_by{|a|a.published}.reverse.each do |a| %> - * <%= a.title %><% a.tags.each do |t| %><%= t.html %><% end %><% end %> + * 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.tags.each do |t| %><%= t.html %><% end %><% end %> -- cgit v1.2.3-54-g00ecf