post
The post
object contains following attributes:
Object Fields
Field | Data Type | Description |
---|---|---|
post.id | Number | Returns id of the post. |
post.title | String | Returns title of the post. |
post.content | String | Returns content of the post. |
post.excerpt | String | Returns a short summary of the post. |
post.date | Date | Returns date of the post. |
Code Example
<div class="Post">
<h1 class="Post-title"> {{ post.title }} </h1>
<div class="Post-date"> {{ post.date }} </div>
<div class="Post-content"> {{ post.content }} </div>
{% share_buttons %}
{{ post.url }}
{% end_share_buttons %}
</div>
Updated about 1 year ago