From 0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 15 May 2015 20:30:18 +0200 Subject: make the feed items nicer. --- lib/rss2html/views/item.html.erb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/rss2html/views/item.html.erb') diff --git a/lib/rss2html/views/item.html.erb b/lib/rss2html/views/item.html.erb index 5c0aea8..9e7a2fe 100644 --- a/lib/rss2html/views/item.html.erb +++ b/lib/rss2html/views/item.html.erb @@ -1,8 +1,7 @@
-

<%= item.title %>

-
Posted by <%= item.author %> at <%= item.date %>
+
<%= pretty_date(item.date) %>
<%= pretty_url(item.url) %>
+

<%= item.title %>

<%= item.summary %> -
-- cgit v1.2.3