Permalink
Browse files

Pass through any args given to to_liquid

  • Loading branch information...
mpalmer committed Feb 11, 2014
1 parent ef2507a commit 4b30bd62d937d2ba6e7f16fc5fe8082abb0d3f1e
Showing with 2 additions and 2 deletions.
  1. +2 −2 static_comments.rb
View
@@ -21,8 +21,8 @@
class Jekyll::Post
alias :to_liquid_without_comments :to_liquid
- def to_liquid
- data = to_liquid_without_comments
+ def to_liquid(*args)
+ data = to_liquid_without_comments(*args)
data['comments'] = StaticComments::find_for_post(self)
data['comment_count'] = data['comments'].length
data

0 comments on commit 4b30bd6

Please sign in to comment.