Skip to content
Browse files

Pass through any args given to to_liquid

  • Loading branch information...
1 parent ef2507a commit 4b30bd62d937d2ba6e7f16fc5fe8082abb0d3f1e @mpalmer committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 static_comments.rb
View
4 static_comments.rb
@@ -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.
Something went wrong with that request. Please try again.