hakyll-contrib 0.0.0.2 → 0.0.0.3
raw patch · 4 files changed
+21/−21 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- data/small-blog/hakyll.hs +0/−15
- data/small-blog/small-blog.hs +15/−0
- hakyll-contrib.cabal +2/−2
- src/Hakyll/Contrib/SmallBlog.hs +4/−4
− data/small-blog/hakyll.hs
@@ -1,15 +0,0 @@-{-# LANGUAGE OverloadedStrings #-}-module Main where--import Hakyll-import Hakyll.Contrib.SmallBlog--main :: IO ()-main = hakyll $ smallBlogWith defaultSmallBlogConfiguration- { atomFeed = Just FeedConfiguration- { feedTitle = "A simple blog"- , feedDescription = "Certainly very enjoyable yes"- , feedAuthorName = "Jasper Van der Jeugt"- , feedRoot = "http://example.com"- }- }
+ data/small-blog/small-blog.hs view
@@ -0,0 +1,15 @@+{-# LANGUAGE OverloadedStrings #-}+module Main where++import Hakyll+import Hakyll.Contrib.SmallBlog++main :: IO ()+main = hakyll $ smallBlogWith defaultSmallBlogConfiguration+ { atomFeed = Just FeedConfiguration+ { feedTitle = "A simple blog"+ , feedDescription = "Certainly very enjoyable yes"+ , feedAuthorName = "Jasper Van der Jeugt"+ , feedRoot = "http://example.com"+ }+ }
hakyll-contrib.cabal view
@@ -1,5 +1,5 @@ Name: hakyll-contrib-Version: 0.0.0.2+Version: 0.0.0.3 Synopsis: Extra modules for the hakyll website compiler Homepage: http://jaspervdj.be/hakyll License: BSD3@@ -15,7 +15,7 @@ Data-files: small-blog/contact.markdown small-blog/css/screen.css- small-blog/hakyll.hs+ small-blog/small-blog.hs small-blog/images/haskell-logo.png small-blog/index.markdown small-blog/posts.html
src/Hakyll/Contrib/SmallBlog.hs view
@@ -10,12 +10,12 @@ -- > hakyll-contrib small-blog -- -- Hakyll will then generate a simple example site for you. The necessary--- configuration is placed in the @hakyll.hs@ file. Compile and run it to create+-- configuration is placed in the @small-blog.hs@ file. Compile and run it to create -- the demo site: ----- > ghc --make hakyll.hs--- > ./hakyll build--- > ./hakyll preview+-- > ghc --make small-blog.hs+-- > ./small-blog build+-- > ./small-blog preview -- -- So, in order to get your site going, you need to follow the conventions for -- the content on your site.