mpalmer/jekyll-static-comments

Unable to run Jekyll serve

Closed this issue · 2 comments

Hi Matt,
Thanks for your script.

I'm just using the plugin on Jekyll 1.4.3 to generate comments and completed the following steps

  1. Created a comment in the comments folder
  2. Populated posts
    and ran jekyll serve
    I get the following message after all the posts have been parsed.

Invalid Date: '' is not a valid datetime.
Liquid Exception: exit in feed.xml

For each post it appears to be running the script twice also...

Thanks,
Deepak

Post one of your sample comments; this is just a guess, but it seems like the Date field either doesn't exist on, or is empty in one or more of the comments.

Thanks for the reply.
I read your post: IQAndreas@ce7808d and it helped fix the error as I use jekyll 1.4.3.
I think this needs to be mentioned somewhere in the main page. recursion was making things tricky to debug.
Do you need to use post.comments to access the liquid hash, instead of page.comments as mentioned in the Readme.