Difference between revisions of "Liquid Template Variables - blog"
From Spiffy Stores Knowledge Base
(New page: The liquid template variable ''blog'' has the following attributes: == <code>blog.id</code> == Returns the unique internal number of the blog. This is normally only for internal usage. ...) |
m (→blog.url) |
||
Line 28: | Line 28: | ||
The is the relative URL address of the blog. | The is the relative URL address of the blog. | ||
+ | |||
+ | == <code>blog.rss_feed</code> == | ||
+ | |||
+ | The is the relative URL address of the RSS feed for the blog. | ||
== <code>blog.type</code> == | == <code>blog.type</code> == | ||
Returns the type of the object, in this case, 'blog'. | Returns the type of the object, in this case, 'blog'. |
Revision as of 14:14, 25 March 2011
The liquid template variable blog has the following attributes:
Contents
blog.id
Returns the unique internal number of the blog.
This is normally only for internal usage.
blog.handle
This is the blog handle. The handle uniquely identifies the blog in the URL address.
The handle is usually the blog's title in lower case with all blanks replaced by a dash. "My New Blog" would 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.articles_count
Returns the number of articles in the blog.
blog.url
The is the relative URL address of the blog.
blog.rss_feed
The is the relative URL address of the RSS feed for the blog.
blog.type
Returns the type of the object, in this case, 'blog'.