n***@public.gmane.org
2013-06-04 21:58:41 UTC
Hello all,
Noob question.
I'm trying to set up a site using Hakyll and I'm having a strange problem
with my attempts to move away from the convention of dates in filenames. I
was able to make Hakyll get the date field from the metadata rather than
the filename with no problem, but I get the error in the subject line:
[ERROR] Missing field $posts$ in context for item archive.html
when I rename a file in the posts directory from
2013-06-04-carpe-diem.markdown to carpe-diem.markdown. I can't find
anything in the documentation, or think of any reason, why changing the
filename should affect the posts field.
Can anyone shed some light on this? I've attached the entire site.hs file
for reference; it is little changed from the default generated by
hakyll-init. If it is more convenient, you can also view it at
http://hpaste.org/89317.
Thanks,
Nabil Hassein
Noob question.
I'm trying to set up a site using Hakyll and I'm having a strange problem
with my attempts to move away from the convention of dates in filenames. I
was able to make Hakyll get the date field from the metadata rather than
the filename with no problem, but I get the error in the subject line:
[ERROR] Missing field $posts$ in context for item archive.html
when I rename a file in the posts directory from
2013-06-04-carpe-diem.markdown to carpe-diem.markdown. I can't find
anything in the documentation, or think of any reason, why changing the
filename should affect the posts field.
Can anyone shed some light on this? I've attached the entire site.hs file
for reference; it is little changed from the default generated by
hakyll-init. If it is more convenient, you can also view it at
http://hpaste.org/89317.
Thanks,
Nabil Hassein
--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
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+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.