summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2017-01-03 21:52:42 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2017-01-03 21:52:42 -0500
commita6fa6e3fcb032e2867b744fb6e9fee362cc8cd3a (patch)
tree86a9c38e20da27de3c795b563e7fae8889ee386e /bin
parentfeaa1e6eb92c0e1d3db819cfd3c151d9fa15ca26 (diff)
external link icon
Diffstat (limited to 'bin')
-rw-r--r--bin/index.md.erb2
1 files changed, 1 insertions, 1 deletions
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 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><% a.tags.each do |t| %><%= t.html %><% end %></span><% end %>
+ * <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 %>