aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss2html/views/item.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss2html/views/item.html.erb')
-rw-r--r--lib/rss2html/views/item.html.erb5
1 files changed, 2 insertions, 3 deletions
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 @@
<article>
<header>
- <h1><%= item.title %></h1>
- <section class="meta">Posted by <%= item.author %> at <%= item.date %></section>
+ <section class="meta"><%= pretty_date(item.date) %><br><%= pretty_url(item.url) %></section>
+ <h1><a href="<%= item.url %>"><%= item.title %></a></h1>
</header>
<section class="summary"><%= item.summary %></summary>
- <footer><a href="<%= item.url %>">Read more...</a></footer>
</article>