Blog

From Shopify Wiki

Jump to: navigation, search

The liquid variable blog has the following attributes:

Contents

blog.id

Returns the id of this blog.

blog.handle

This is the accessor for this blog. It is usually the blog's title in underscore with every blank space replaced by a dash. "My New Blog" would thus have the handle "my-new-blog".

blog.title

Returns the title of this blog

blog.articles

Returns a collection of all of this blog's articles.

blog.url

Returns the relative URL of the blog. See also shop.url.

Personal tools