summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorJasper Van der Jeugt <m@jaspervdj.be>2013-01-20 09:35:39 +0100
committerJasper Van der Jeugt <m@jaspervdj.be>2013-01-20 09:35:39 +0100
commit064128305e5e1a99d20afa62331c7a3bdf566c8a (patch)
tree641211bb47064fdde9ddfeb53b07bdde11e1c857 /web
parent21b897a6827cdcee8c5d2b11932250202e96a2f4 (diff)
downloadhakyll-064128305e5e1a99d20afa62331c7a3bdf566c8a.tar.gz
Update to use pandoc 1.9
Diffstat (limited to 'web')
-rw-r--r--web/releases.markdown25
-rw-r--r--web/site.hs2
-rw-r--r--web/templates/default.html1
3 files changed, 27 insertions, 1 deletions
diff --git a/web/releases.markdown b/web/releases.markdown
new file mode 100644
index 0000000..6ee53e1
--- /dev/null
+++ b/web/releases.markdown
@@ -0,0 +1,25 @@
+---
+title: Releases
+---
+
+## Hakyll 4.1.0.0
+
+*January 20, 2013*
+
+Update to use Pandoc 1.10, this requires changes to your `site.hs` if you're
+using custom Pandoc options or the `Hakyll.Web.Pandoc.Biblio` module.
+
+- `defaultHakyllParserState` renamed to `defaultHakyllReaderOptions`
+- The type of `readPandocBiblio` changed
+
+Because of the many changes, this release is no longer compatible with Pandoc
+1.9.
+
+## Hakyll 4.0.0.0
+
+*January 16, 2013*
+
+The Initial release of Hakyll 4, see
+[this blogpost](http://jaspervdj.be/posts/2013-01-16-hakyll-4.0.html) and
+[the migration guide](/tutorials/hakyll-3-to-hakyll4-migration-guide.html) for
+an overview of changes.
diff --git a/web/site.hs b/web/site.hs
index 8ff1712..45e6519 100644
--- a/web/site.hs
+++ b/web/site.hs
@@ -43,7 +43,7 @@ main = hakyllWith config $ do
-- Tutorials
match "tutorials/*" $ do
route $ setExtension "html"
- compile $ pandocCompilerWith defaultHakyllParserState withToc
+ compile $ pandocCompilerWith def withToc
>>= loadAndApplyTemplate "templates/tutorial.html" defaultContext
>>= loadAndApplyTemplate "templates/default.html" defaultContext
>>= relativizeUrls
diff --git a/web/templates/default.html b/web/templates/default.html
index fbf84a0..320ff08 100644
--- a/web/templates/default.html
+++ b/web/templates/default.html
@@ -33,6 +33,7 @@
<a href="/about.html">about</a>
<a href="/tutorials/faq.html">faq</a>
<a href="/examples.html">examples</a>
+ <a href="/releases.html">releases</a>
<a href="/hakyll3">Hakyll 3.X</a>
<!-- Flattr button -->