{##################} {### POST BLOCK ###} {##################}
{%- if post.header !== false %}
<{%- if is_index %}h2{% else %}h1{%- endif %} class="post-title{%- if post.direction and post.direction.toLowerCase() === 'rtl' %} rtl{%- endif %}" itemprop="name headline"> {# Link posts #} {%- if post.link %} {%- if post.sticky > 0 %} {%- endif %} {%- set postTitleIcon = '' %} {%- set postText = post.title or post.link %} {{ next_url(post.link, postText + postTitleIcon, {class: 'post-title-link post-title-link-external', itemprop: 'url'}) }} {% elif is_index %} {%- if post.sticky > 0 %} {%- endif %} {{ next_url(post.path, post.title or __('post.untitled'), {class: 'post-title-link', itemprop: 'url'}) }} {%- else %} {{- post.title }} {{- post_edit(post.source) }} {%- endif %}
{%- endif %} {#################} {### POST BODY ###} {#################}
{# Gallery support #} {%- if post.photos and post.photos.length %}
{%- for photo in post.photos %} {%- endfor %}
{%- endif %} {%- if is_index %} {%- if post.description and theme.excerpt_description %}

{{ post.description }}

{%- if theme.read_more_btn %}
{{ __('post.read_more') }} »
{%- endif %} {% elif post.excerpt %} {{ post.excerpt }} {%- if theme.read_more_btn %}
{{ __('post.read_more') }} »
{%- endif %} {% else %} {{ post.content }} {%- endif %} {% else %} {{ post.content }} {%- endif %}
{#####################} {### END POST BODY ###} {#####################}
{% if not is_index %} {% include 'passage-end-tag.swig' %} {% endif %}
{%- if theme.related_posts.enable and (theme.related_posts.display_in_home or not is_index) %} {{ partial('_partials/post/post-related.swig') }} {%- endif %} {%- if not is_index %} {{- next_inject('postBodyEnd') }} {%- if post.reward_settings.enable %} {{ partial('_partials/post/post-reward.swig') }} {%- endif %} {%- if theme.creative_commons.license and theme.creative_commons.post %} {{ partial('_partials/post/post-copyright.swig') }} {%- endif %} {%- if theme.follow_me %} {{ partial('_partials/post/post-followme.swig', {}, {cache: theme.cache.enable}) }} {%- endif %} {% else %} {%- endif %}
{######################} {### END POST BLOCK ###} {######################}