Compatibility with Octopress site.

Don't break urls.
 1. New Route function which generates routes compatible with old blog.
 2. Renamed posts folder to blog.
This commit is contained in:
Dhananjay Balan
2017-01-31 15:52:21 +01:00
parent f1bf5b6c0d
commit 3a30fb8a07
49 changed files with 25 additions and 4 deletions

View File

@@ -7,5 +7,7 @@ executable site
main-is: site.hs
build-depends: base == 4.*
, hakyll == 4.9.*
, filepath >= 1.4
, regex-compat
ghc-options: -threaded
default-language: Haskell2010