diff --git a/plugins/static_comments.rb b/plugins/static_comments.rb index 184b059..86c00f2 100644 --- a/plugins/static_comments.rb +++ b/plugins/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