Deepak Jois
2016-08-31 14:48:00 UTC
Hi
In addition to the ‘published’ date, I want to track an ‘updated’
field in my YAML frontmatter which denotes the date a post was
updated.
After looking around, the best I could come up with was this:
https://github.com/deepakjois/website/commit/2d23f9d47e927f58fd450a327e6907ef1b0b2b64
It is essentially code lifted from the core Hakyll codebase with
function names and a string value (published -> updated) changed.
Is there a better way to do this? Can the Hakyll API provide a way to
specify additional date fields in the YAML front matter easily?
Thanks
Deepak
In addition to the ‘published’ date, I want to track an ‘updated’
field in my YAML frontmatter which denotes the date a post was
updated.
After looking around, the best I could come up with was this:
https://github.com/deepakjois/website/commit/2d23f9d47e927f58fd450a327e6907ef1b0b2b64
It is essentially code lifted from the core Hakyll codebase with
function names and a string value (published -> updated) changed.
Is there a better way to do this? Can the Hakyll API provide a way to
specify additional date fields in the YAML front matter easily?
Thanks
Deepak
--
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.