summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper Van der Jeugt <jaspervdj@gmail.com>2010-10-01 17:17:41 +0200
committerJasper Van der Jeugt <jaspervdj@gmail.com>2010-10-01 17:17:41 +0200
commit9b9020f203efadbe3390079f7e2813b155c2e6ce (patch)
treef90de7f6c0f9e51c2450a91954b20404f0c90d5e
parent487d91ce32f377148e4f87be67c367d049099656 (diff)
downloadhakyll-9b9020f203efadbe3390079f7e2813b155c2e6ce.tar.gz
Treat .page extensions as markdown
-rw-r--r--hakyll.cabal2
-rw-r--r--src/Text/Hakyll/Internal/FileType.hs1
2 files changed, 2 insertions, 1 deletions
diff --git a/hakyll.cabal b/hakyll.cabal
index 51c3fa4..512fabc 100644
--- a/hakyll.cabal
+++ b/hakyll.cabal
@@ -1,5 +1,5 @@
Name: hakyll
-Version: 2.3.1
+Version: 2.3.2
Synopsis: A simple static site generator library.
Description: A simple static site generator library, mainly aimed at
diff --git a/src/Text/Hakyll/Internal/FileType.hs b/src/Text/Hakyll/Internal/FileType.hs
index e762e9a..689c77f 100644
--- a/src/Text/Hakyll/Internal/FileType.hs
+++ b/src/Text/Hakyll/Internal/FileType.hs
@@ -32,6 +32,7 @@ getFileType = getFileType' . takeExtension
getFileType' ".mdwn" = Markdown
getFileType' ".mkd" = Markdown
getFileType' ".mkdwn" = Markdown
+ getFileType' ".page" = Markdown
getFileType' ".rst" = ReStructuredText
getFileType' ".tex" = LaTeX
getFileType' ".text" = Text