diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2015-05-15 20:30:18 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2015-05-15 20:30:18 +0200 |
commit | 0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a (patch) | |
tree | 2c8ceaa8cff349e8d5418832a522f2c4aca4d540 /lib/rss2html/views/item.html.erb | |
parent | 1beba4bae98c2d6af47283cc2fe21c88225f8f0d (diff) | |
download | rss2html-0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a.tar.gz rss2html-0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a.tar.bz2 rss2html-0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a.zip |
make the feed items nicer.
Diffstat (limited to 'lib/rss2html/views/item.html.erb')
-rw-r--r-- | lib/rss2html/views/item.html.erb | 5 |
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> |