Comment
From Shopify Wiki
The liquid variable comment has the following attributes:
Contents |
comment.id
Returns the id of this comment.
comment.author
Returns the author of this comment.
comment.email
Returns the e-mail address of the author.
comment.content
Returns the body of the comment (in html).
comment.created_at
Returns the date/time of when the comment was created.
Example usage by using a date filter
{{ comment.created_at | date: "%B %d, %Y" }}
Check this entry out for more information on the date filter.
comment.status
Returns the status of the comment. Will be one of 'pending', 'unapproved', 'published', 'removed', or 'spam'.
comment.url
Relative url where the article can be found. Will append the comment's #<id> as anchor so that the page should automatically scroll to the corresponding comment.

