From: Lucian Mogosanu Date: Thu, 25 Jul 2013 09:30:00 +0000 (+0300) Subject: site: compile contact page X-Git-Tag: v0.1~2^2~7 X-Git-Url: https://git.mogosanu.ro/?a=commitdiff_plain;h=4b2c4297c7acc9695c91d2a614d07876a4e706d7;p=thetarpit.git site: compile contact page --- diff --git a/contact.markdown b/contact.markdown new file mode 100644 index 0000000..b726f84 --- /dev/null +++ b/contact.markdown @@ -0,0 +1,7 @@ +--- +title: Contact +author: Lucian Mogoșanu +date: July 24, 2013 +--- + +TODO diff --git a/site.hs b/site.hs index 4267dbf..0aeb143 100644 --- a/site.hs +++ b/site.hs @@ -6,6 +6,8 @@ import Hakyll.Core.Configuration -- wrapping it up main :: IO () main = hakyllWith tarpitConfiguration $ do + let pages = ["about.markdown", "contact.markdown", + "404.markdown", "403.markdown"] -- tags tags <- buildTags "posts/*" $ fromCapture "tags/*.html" @@ -13,7 +15,7 @@ main = hakyllWith tarpitConfiguration $ do match "index.html" compileIndex match "css/*" compileCss match "posts/*" $ compilePosts tags - match (fromList ["about.markdown", "404.markdown", "403.markdown"]) compilePages + match (fromList pages) compilePages create ["archive.html"] compileArchive -- tags rules