blog

The blog object has the following attributes:

blog.articles

Returns an array of all articles in a blog.

{% for article in blog.articles %}
    <h2>{{ article.title }}</h2>
{% endfor %}
<h2>Hello World!</h2>
<h2>This is my second post.</h2>
<h2>Third time's a charm!</h2>

blog.id

Returns the id of the blog.

blog.title

Returns the title of the blog.

blog.url

Returns the relative URL of the blog.


Did this page help you?