Article
From Shopify Wiki
The liquid variable _article_ has the following attributes:
Contents |
[edit]
article.id
Returns the id of this article.
[edit]
article.title
Returns the title of this article.
[edit]
article.author
Returns the name of the author of this article.
[edit]
article.content
Returns this article's content (the actual article).
[edit]
article.created_at
Returns the date/time of when this article was created.
Example usage by using a date filter
{{ article.created_at | date: "%Y %h" }}
[edit]
article.url
Relative url where the blog can be found. Will append #article-<id> as anchor so that the page should automatically scroll to the corresponding article.
