Skip to content

Commit

Permalink
slight tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jnewland authored and schacon committed Oct 28, 2009
1 parent a34c115 commit c7aac72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion environment.rb
Expand Up @@ -7,7 +7,7 @@
end

GIT_REPO = ENV['HOME'] + '/wiki'
HOMEPAGE = 'home'
HOMEPAGE = 'Home'

unless File.exists?(GIT_REPO) && File.directory?(GIT_REPO)
puts "Initializing repository in #{GIT_REPO}..."
Expand Down
3 changes: 2 additions & 1 deletion git-wiki.rb
Expand Up @@ -13,7 +13,8 @@
@page.tracked? ? show(:show, @page.name) : redirect('/e/' + @page.name)
end

get '/:page/raw' do
get '/:page.txt' do
content_type 'text/plain', :charset => 'utf-8'
@page = Page.new(params[:page])
@page.raw_body
end
Expand Down
3 changes: 1 addition & 2 deletions public/style.css
Expand Up @@ -10,10 +10,9 @@ body {
}

a {
color: #6d7fa3;
color: #283BA3;
text-decoration: none;
}
a:visited { color: #7b69b0; }
a:hover { text-decoration: underline; }

code, pre {
Expand Down

0 comments on commit c7aac72

Please sign in to comment.