Jasper Van der Jeugt
2016-04-19 17:47:26 UTC
Hi all,
I've just released Hakyll-4.8. The main change is that we now use the
yaml package to parse page metadata. This was a frequently requested
feature and it will allow for having more structure in your metadata.
The metadata type changed from:
type Metadata = Map String String
To:
type Metadata = Aeson.Object
Most configurations do not rely on the internals of this object, so
this should not pose a big problem.
What can happen is that your metadata contains invalid YAML, e.g.:
---
title: My first blogpost: Hello world
---
The ':' character is invalid, and you would have to change this to:
---
title: 'My first blogpost: Hello world'
---
Hakyll will generate a nice error message if you have this problem
anywhere in your posts, so this should be easy to fix.
Let me know if you run into any trouble.
Peace,
Jasper
I've just released Hakyll-4.8. The main change is that we now use the
yaml package to parse page metadata. This was a frequently requested
feature and it will allow for having more structure in your metadata.
The metadata type changed from:
type Metadata = Map String String
To:
type Metadata = Aeson.Object
Most configurations do not rely on the internals of this object, so
this should not pose a big problem.
What can happen is that your metadata contains invalid YAML, e.g.:
---
title: My first blogpost: Hello world
---
The ':' character is invalid, and you would have to change this to:
---
title: 'My first blogpost: Hello world'
---
Hakyll will generate a nice error message if you have this problem
anywhere in your posts, so this should be easy to fix.
Let me know if you run into any trouble.
Peace,
Jasper
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.