lib/site/views/_article.erb in serious-0.2.0 vs lib/site/views/_article.erb in serious-0.2.1
- old
+ new
@@ -1,13 +1,16 @@
<div class="article">
- <span class="date right"><%= article.date %></span>
+ <span class="date right"><%= article.date.formatted %></span>
<h2><a href="<%= article.url %>"><%= article.title %></a></h2>
<div class="body">
<% if summary_only %>
<%= article.summary.formatted %>
+ <span class="right date"><a href="<%= article.url %>">read on...</a></span>
<% else %>
<%= article.body.formatted %>
- <span class="author right">Written by <%= article.author %></span>
+ <span class="author right">Written by <%= article.author %></span>
+
+ <%= render_partial :disqus if Serious.disqus %>
<% end %>
</div>
</div>