Skip to content

Commit

Permalink
a more sensible place for the main stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Payne committed Feb 22, 2008
1 parent 92fddcf commit 66bacb8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion git-wiki.rb
Expand Up @@ -81,7 +81,7 @@ def show(template, title)
end

get('/') { redirect '/' + HOMEPAGE }
get('/_stylesheet.css') { File.read(File.join(File.dirname(__FILE__), 'stylesheet.css')) }
get('/_style.css') { File.read(File.join(File.dirname(__FILE__), 'css', 'style.css')) }
get('/_code.css') { File.read(File.join(File.dirname(__FILE__), 'css', "#{UV_THEME}.css")) }

get '/_list' do
Expand Down
2 changes: 1 addition & 1 deletion views/layout.erb
@@ -1,7 +1,7 @@
<html>
<head>
<title><%= @title %></title>
<link rel="stylesheet" href="/_stylesheet.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/_style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="/_code.css" type="text/css" media="screen" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
Expand Down

0 comments on commit 66bacb8

Please sign in to comment.