mpalmer/jekyll-static-comments

Plugin crashes for Jekyll >= 1.1.0

Opened this issue · 4 comments

The static_comments.rb plugin crashes with

$ jekyll serve --trace
Configuration file: /home/matthias/blog/_config.yml
            Source: /home/matthias/blog
       Destination: /home/matthias/blog/_site
      Generating... /var/lib/gems/1.8/gems/jekyll-1.1.2/bin/../lib/jekyll/post.rb:255:in `to_liquid': wrong number of arguments (1 for 0) (ArgumentError)

with Jekyll version 1.1.0 and 1.1.2. Versions 1.0.0 through 1.0.4 work fine.

My gut tells me it's that change that leads to the problem.

I have exactly the same problem. I use Jekyll version 1.2.1.

If either of you are still having problems with it, making it compatible is actually a really simple fix: IQAndreas@ce7808d

The plugin should also still be compatible with the older versions of Jekyll.

Nice! Would be great though to see this merged upstream.

Please merge @IQAndreas's solution.