{%- 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 ###} {#################}
{%- 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 %} {{- next_inject('postBodyStart') }} {{- post.content }} {%- endif %}
{#####################} {### END POST BODY ###} {#####################}
{%- if is_index %}
{% else %} {{- next_inject('postBodyEnd') }} {%- if post.reward_settings.enable %} {{ partial('_partials/post/post-reward.njk') }} {%- endif %} {%- if theme.creative_commons.license and theme.creative_commons.post and post.copyright !== false %} {{ partial('_partials/post/post-copyright.njk') }} {%- endif %} {%- if theme.follow_me %} {{ partial('_partials/post/post-followme.njk', {}, {cache: theme.cache.enable}) }} {%- endif %} {%- if post.tags and post.tags.length %} {%- set tag_indicate = '' if theme.tag_icon else '#' %} {%- endif %} {{ partial('_partials/post/post-share.njk', {}, {cache: theme.cache.enable}) }} {%- if theme.post_navigation and (post.prev or post.next) %} {%- set prev = post.prev if theme.post_navigation === 'right' else post.next %} {%- set next = post.next if theme.post_navigation === 'right' else post.prev %}
{%- if prev %} {%- endif %}
{%- if next %} {%- endif %}
{%- endif %} {%- endif %}