get rid of default stuff

This commit is contained in:
Lorin Werthen 2016-06-09 15:34:03 +02:00
parent 9755562463
commit 27b53da67b
3 changed files with 2 additions and 116 deletions

2
Rules
View file

@ -15,7 +15,7 @@ route '/**/*.{html,md}' do
if item.identifier =~ '/index.*' if item.identifier =~ '/index.*'
'/index.html' '/index.html'
else else
item.identifier.without_ext + '/index.html' "#{item.identifier.without_ext}/index.html"
end end
end end

View file

@ -1,101 +0,0 @@
* {
margin: 0;
padding: 0;
font-family: Georgia, Palatino, serif;
}
body {
background: #fff;
}
a {
text-decoration: none;
}
a:link,
a:visited {
color: #f30;
}
a:hover {
color: #f90;
}
#main {
position: absolute;
top: 40px;
left: 280px;
width: 500px;
}
#main h1 {
font-size: 40px;
font-weight: normal;
line-height: 40px;
letter-spacing: -1px;
}
#main p {
margin: 20px 0;
font-size: 15px;
line-height: 20px;
}
#main ul, #main ol {
margin: 20px;
}
#main li {
font-size: 15px;
line-height: 20px;
}
#main ul li {
list-style-type: square;
}
#sidebar {
position: absolute;
top: 40px;
left: 20px;
width: 200px;
padding: 20px 20px 0 0;
border-right: 1px solid #ccc;
text-align: right;
}
#sidebar h2 {
text-transform: uppercase;
font-size: 13px;
color: #333;
letter-spacing: 1px;
line-height: 20px;
}
#sidebar ul {
list-style-type: none;
margin: 20px 0;
}
#sidebar li {
font-size: 14px;
line-height: 20px;
}

View file

@ -3,6 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>A Brand New Nanoc Site - <%= @item[:title] %></title> <title>A Brand New Nanoc Site - <%= @item[:title] %></title>
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
<link rel="stylesheet" href="/stylesheet.css"> <link rel="stylesheet" href="/stylesheet.css">
<!-- you don't need to keep this, but it's cool for stats! --> <!-- you don't need to keep this, but it's cool for stats! -->
@ -12,19 +13,5 @@
<div id="main"> <div id="main">
<%= yield %> <%= yield %>
</div> </div>
<div id="sidebar">
<h2>Documentation</h2>
<ul>
<li><a href="http://nanoc.ws/about/">About</a></li>
<li><a href="http://nanoc.ws/doc/">Documentation</a></li>
<li><a href="http://nanoc.ws/doc/tutorial/">Tutorial</a></li>
</ul>
<h2>Community</h2>
<ul>
<li><a href="http://groups.google.com/group/nanoc/">Discussion group</a></li>
<li><a href="irc://chat.freenode.net/#nanoc">IRC channel</a></li>
<li><a href="http://nanoc.ws/contributing/">Contributing</a></li>
</ul>
</div>
</body> </body>
</html> </html>