{%- 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 ###} {#####################}