Skip to content
Browse files

Merge branch 'master' of github.com:antirez/lamernews

  • Loading branch information...
2 parents 5ceb465 + cbc4908 commit 246fabc9b7ade670da2d5387ec3e6781c64f3a96 @antirez committed Oct 10, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 README.md
  2. +2 −2 app.rb
View
1 README.md
@@ -46,6 +46,7 @@ Web sites using this code
* http://lamernews.com Programming News.
* http://echolinux.com Linux News.
+* http://echojs.com JavaScript News.
Data Layout
===
View
4 app.rb
@@ -66,7 +66,7 @@
end
get '/' do
- H.set_title "Top News - #{SiteName}"
+ H.set_title "Top news - #{SiteName}"
news,numitems = get_top_news
H.page {
H.h2 {"Top news"}+news_list_to_html(news)
@@ -109,7 +109,7 @@
:link => "/latest/$"
}
H.page {
- H.h2 {"Latest news"}
+ H.h2 {"Latest news"}+
H.section(:id => "newslist") {
list_items(paginate)
}

0 comments on commit 246fabc

Please sign in to comment.
Something went wrong with that request. Please try again.