Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Broken titles #109

Merged
merged 2 commits into from

2 participants

@beanz

/latest/0 has no h2 title because of a missing '+'.
Change "Top News" to "Top news" to match capitalization used elsewhere.
-Mark.

@antirez
Owner

Thank you, merged.

@antirez antirez merged commit cbc4908 into antirez:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 app.rb
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)
}
Something went wrong with that request. Please try again.