Follow

Article View

Variable Usage Explanation
article.id <ul>
<li>{{ article.id }}</li>
</ul>
Returns the id of an article.
article.title <ul>
<li>{{ article.title }}</li>
</ul>
Returns the title of an article.
article.metaTitle <ul>
<li>{{ article.metaTitle }}</li>
</ul>
Returns the meta title of an article.
article.metaDescription <ul>
<li>{{ article.metaDescription }}</li>
</ul>
Returns the meta description of an article.
article.metaKeywords <ul>
<li>{{ article.metaKeywords }}</li>
</ul>
Returns the meta keywords of an article.
article.url <ul>
<li>{{ article.url }}</li>
</ul>
Returns the url of an article.
article.status <ul>
<li>{{ article.status }}</li>
</ul>
Returns the status of an article.
article.content <ul>
<li>{{ article.content }}</li>
</ul>
Returns the content of an article.
article.commentable (int) <ul>
<li>{{ article.commentable }}</li>
</ul>
Returns the comment state of an article.
article.comments (array) <ul>
  {% for comment in article.comments %}
  <li>{{ comment.authorName }}</li>
  <li>{{ comment.creationDate }}</li>
  <li>{{ comment.content }}</li>
  {% endfor %}
</ul>
Returns the comments of an article.
article.categories <ul>
  {% for article_category in article.categories %}
   <li>{{ article_category.title }}</li>
  {% endfor %}
</ul>
Returns the category of an article.
article.tags <ul>
  {% for article_tag in article.tags %}
   <li>{{ article_tag.title }}</li>
  {% endfor %}
</ul>
Returns the tags of an article.

 

Was this article helpful?
1 out of 1 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk