fix
This commit is contained in:
parent
947f236b43
commit
7931c29b01
|
@ -16,8 +16,8 @@
|
|||
|
||||
# Ruby CGI module to produce a directory listing of filterable content
|
||||
# Variables
|
||||
ROOT_PATH="/var/www/"
|
||||
DIR_PATH="/var/www/blog"
|
||||
ROOT_PATH="/www/"
|
||||
DIR_PATH="/www/blog"
|
||||
EXTENSIONS=[".md"]
|
||||
TEMPLATE_PRE="template.pre.html"
|
||||
TEMPLATE_POST="template.post.html"
|
||||
|
@ -31,7 +31,7 @@ template_css = ""
|
|||
template_pre = ""
|
||||
template_post = ""
|
||||
if File::exists?( ROOT_PATH+TEMPLATE_CSS ) then
|
||||
template_css = cgi.link( rel = "stylesheet", href = TEMPLATE_CSS)
|
||||
template_css = "<link rel = \"stylesheet\", href = \"#{TEMPLATE_CSS}\">\n"
|
||||
end
|
||||
if File::exists?( ROOT_PATH+TEMPLATE_PRE) then
|
||||
template_pre_f = File.new( ROOT_PATH+TEMPLATE_PRE, "r")
|
||||
|
|
|
@ -19,7 +19,6 @@ body {
|
|||
position: relative;
|
||||
width: 800px;
|
||||
margin: 2em auto 0 auto;
|
||||
height: 100%;
|
||||
background-color: #c0c0c0;
|
||||
box-shadow: 0 0 15px #000000;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue