Permalink
Browse files

top anchor is #documentation, some whitespace

  • Loading branch information...
1 parent cbd6bd0 commit 84a5619eb0edc475347d46bdb8fe0487113d9cc5 @zzak zzak committed Mar 20, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 app.rb
View
8 app.rb
@@ -35,7 +35,7 @@
begin
open("https://api.github.com/repos/sinatra/sinatra-recipes/contributors") do |api|
@contributors = JSON.parse(api.read)
- end
+ end
rescue SocketError => e
end
markdown :README
@@ -86,7 +86,7 @@
});
body
- a name="top"
+ a name="documentation"
.wrapper
#header
a href="/"
@@ -99,7 +99,7 @@
select#selectNav.chosen data-placeholder="Select a topic"
option
- @menu.each do |me|
- option value="/p/#{me}?#article"
+ option value="/p/#{me}?#article"
#{me.capitalize.sub('_', ' ')}
#content
#post
@@ -119,7 +119,7 @@
| community:
dl id="contributors"
- @contributors.each do |contributor|
- dt
+ dt
a href="http://github.com/#{contributor["login"]}"
img src="http://www.gravatar.com/avatar/#{contributor["gravatar_id"]}?s=50"

0 comments on commit 84a5619

Please sign in to comment.