<div class="content-item h-entry">

{% if not hero_image_name %}
    <div class="content-title text-center">
        {% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
        {% if page.header.subtitle %}
        <h3 >{{ page.header.subtitle }}</h3>
        {% endif %}
        {% include 'partials/blog/date.html.twig' %}
        {% include 'partials/blog/taxonomy.html.twig' %}
    </div>
{% endif %}
    <div class="e-content">
        {{ page.content|raw }}

        {% if page.header.links.googleplay or page.header.links.appstore or page.header.links.opensource %}
            <h2>Downloads</h2>
            {% if page.header.links.googleplay %}
                <a href="{{ page.header.links.googleplay }}" target="blank"><img alt="Get it on Google Play" src="/user/themes/itsblue/assets/GooglePlay.png"></a><br>
            {% endif %}
            {% if page.header.links.appstore %}
                <a href="{{ page.header.links.appstore }}" target="blank"><img alt="Download on the App Store" src="/user/themes/itsblue/assets/AppStore.png"></a>
            {% endif %}

            {% if page.header.links.opensource %}
                <br><br>
                <p>
                    This app is open-source!
                    <br>
                    <a href="{{ page.header.links.opensource }}" target="blank">{{ page.header.links.opensource }}</a>
                </p>
            {% endif %}
        {% endif %}

        {% if page.header.privacyPolicy %}
            <h2>Privacy Policy</h2>
            {{ page.header.privacyPolicy }}
        {% endif %}
        
    </div>

    {% if page.header.continue_link is same as(true) and config.plugins.comments.enabled %}
        {% include 'partials/comments.html.twig' %}
    {% endif %}
</div>

<p class="prev-next text-center">
    {% if not page.isLast %}
            <a class="btn" href="{{ page.prevSibling.url }}"><i class="fa fa-angle-left"></i> {{ 'previous app'|t }}</a>
    {% endif %}

    {% if not page.isFirst %}
        <a class="btn" href="{{ page.nextSibling.url }}">{{ 'next app'|t }} <i class="fa fa-angle-right"></i></a>
    {% endif %}
</p>
