Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Broken titles #109

Merged
merged 2 commits into from

2 participants

Mark Hindess Salvatore Sanfilippo
Mark Hindess

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

Salvatore Sanfilippo
Owner

Thank you, merged.

Salvatore Sanfilippo antirez merged commit cbc4908 into from
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
4 app.rb
View
@@ -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.