Comment

From Shopify Wiki

Jump to: navigation, search

http://www.textbositdomr.com 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.status

Returns the status of the comment. Will be one of '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.