From 4b2c4297c7acc9695c91d2a614d07876a4e706d7 Mon Sep 17 00:00:00 2001 From: Lucian Mogosanu Date: Thu, 25 Jul 2013 12:30:00 +0300 Subject: [PATCH] site: compile contact page --- contact.markdown | 7 +++++++ site.hs | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 contact.markdown 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 -- 1.7.10.4