We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef2507a commit 4b30bd6Copy full SHA for 4b30bd6
static_comments.rb
@@ -21,8 +21,8 @@
21
class Jekyll::Post
22
alias :to_liquid_without_comments :to_liquid
23
24
- def to_liquid
25
- data = to_liquid_without_comments
+ def to_liquid(*args)
+ data = to_liquid_without_comments(*args)
26
data['comments'] = StaticComments::find_for_post(self)
27
data['comment_count'] = data['comments'].length
28
data
0 commit comments