Permalink
Browse files

Remove the license page from the site and shuffle a couple of things …

…around.
  • Loading branch information...
1 parent 08316f2 commit 48cde15e3df69e0f869ca19e4b438b151bf47454 @beastaugh committed Apr 8, 2011
Showing with 9 additions and 47 deletions.
  1. +1 −1 .gitignore
  2. 0 site/css/{udon.css → docs.css}
  3. +0 −33 site/license.md
  4. +6 −10 site/{udon.hs → site.hs}
  5. +2 −3 site/templates/default.html
View
@@ -1,6 +1,6 @@
pkg
site/_site
site/_cache
-site/udon
+site/site
site/*.hi
site/*.o
File renamed without changes.
View
@@ -1,33 +0,0 @@
----
-title: Udon is released under the BSD license
----
-
-License
-=======
-
-Copyright (c) 2010, Benedict Eastaugh. All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
- * Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above
- copyright notice, this list of conditions and the following
- disclaimer in the documentation and/or other materials provided
- with the distribution.
- * Neither the name of Benedict Eastaugh nor the names of other
- contributors may be used to endorse or promote products derived
- from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -2,7 +2,6 @@
module Main where
import Control.Arrow ((>>>))
-import Control.Monad (forM_)
import Hakyll
@@ -21,12 +20,9 @@ main = hakyll $ do
route idRoute
compile copyFileCompiler
- -- Documentation pages
- forM_ [ "index.md"
- , "license.md"
- ] $ \page -> do
- match page $ do
- route $ setExtension ".html"
- compile $ pageCompiler
- >>> applyTemplateCompiler "templates/default.html"
- >>> relativizeUrlsCompiler
+ -- Documentation
+ match "index.md" $ do
+ route $ setExtension ".html"
+ compile $ pageCompiler
+ >>> applyTemplateCompiler "templates/default.html"
+ >>> relativizeUrlsCompiler
@@ -3,7 +3,7 @@
<meta charset="utf-8">
<title>$title$</title>
- <link rel="stylesheet" href="/css/udon.css">
+ <link rel="stylesheet" href="/css/docs.css">
<!--tracking-->
</head><body><div id="wrapper">
@@ -20,8 +20,7 @@ <h1 id="title"><a href="/">Udon</a></h1>
<p id="footer">
Udon is developed by <a href="http://extralogical.net/">Benedict
- Eastaugh</a> and released under the <a href="/license.html">BSD
- license</a>.
+ Eastaugh</a> and released under the BSD license.
</p>
</div></body></html>

0 comments on commit 48cde15

Please sign in to comment.