Permalink
Browse files

Style changes and some home page news updates

  • Loading branch information...
1 parent d06f0f5 commit c7c300ebc74a21820e31fb49de5e5626e04fb476 @suttree committed Apr 2, 2011
Showing with 12 additions and 1 deletion.
  1. +1 −1 app/controllers/home_controller.rb
  2. +7 −0 app/views/home/index.html.erb
  3. +4 −0 app/views/layouts/application.html.erb
@@ -55,7 +55,7 @@ def read
def find_next_unread_article
redirect_to '/' and return if current_user.articles.unread.count == 0
- @article = current_user.articles.unread.first
+ @article = current_user.articles.unread.last
@article.mark_as_read
@total_unread = current_user.articles.unread.count
end
@@ -28,6 +28,13 @@
<% end %>
</b>
+ <h3>Recent updates</h3>
+ <ul>
+ <li>02-04-2011: Displaying a reverse chronological unread list because it's cooler to be late to the party than ahead of the curve.</li>
+ <li>26-03-2011: Various formatting and style changes.</li>
+ <li><i>See more updates on <a href='https://github.com/suttree/Give-Good-Sunflower/commits/master'>GitHub</a></i></li>
+ </ul>
+
<ol>
<li>Sign in and all the links in your twitter stream will be pseudo-<a href='http://instapaper.com'>instapaper'd</a> and available to read.</li>
<li>Why? See <a href=' http://suttree.com/2011/01/04/twitter-from-the-inside-out/'> http://suttree.com/2011/01/04/twitter-from-the-inside-out</a>.</li>
@@ -2,6 +2,10 @@
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+ <meta name="robots" content="index, follow" />
+ <meta name="description" content="Give Good Sunflower parses your twitter feed and creates a custom list of articles from the websites that the people you follow on twitter are linking to" />
+ <meta name="keywords" content="news, twitter, scrape, instapaper, readability, duncan gough, suttree, give good sunflower, sunflower, magazine, flipboard, articles, heroku, rails3" />
+ <meta name="author" content="Duncan Gough, suttree" />
<title><%= @title_prefix || "Give Good Sunflower" %></title>
<link href="/stylesheets/sunflower.css" media="screen" rel="stylesheet" type="text/css" />
<%= javascript_include_tag 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js' %>

0 comments on commit c7c300e

Please sign in to comment.