The post object contains following attributes:


Object Fields

FieldData TypeDescription
post.idNumberReturns id of the post.
post.titleStringReturns title of the post.
post.contentStringReturns content of the post.
post.excerptStringReturns a short summary of the post.
post.dateDateReturns 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>