<!--[single/post]-->

<div class="profile_onenews" itemscope itemtype="https://schema.org/NewsArticle">

    <?php if( !is_in_dk() ) : ?>

        <div class="mb-4 position-relative">

            <?php get_template_part("template-parts/ad/revive/ad", "", [ "zone" => 12 ]) ?>

        </div>

    <?php endif; ?>

    <?php get_template_part("template-parts/single/post-data") ?>

    <?php get_template_part("template-parts/micro/post"); ?>

    <h1 class="profile_onenews__title" itemprop="headline">

        <?= the_title() ?>

    </h1>

    <?php if (has_secondary_title()): ?>

        <h2 class="profile_onenews__subtitle mb-4">

            <?= get_secondary_title(); ?>

        </h2>

    <?php endif; ?>

    <?php get_template_part("template-parts/single/post-social-share-mobile") ?>

    <?php get_template_part("template-parts/single/disclaimer") ?>

    <?= get_first_pharagraph( get_the_content() ) ?>

    <div class="profile_onenews__body">

        <?php get_template_part("template-parts/single/post-social-share-desktop") ?>

        <?php if( has_post_thumbnail() && show_post_thumbnail() ) : ?>

            <?php the_post_thumbnail(); ?>

        <?php endif; ?>


        <div itemprop="articleBody" class="micromarking">

            <?= the_content() ?>

        </div>

        <?php get_template_part("template-parts/single/banned") ?>

        <?php get_template_part("template-parts/single/post-subscribe-disclaimer") ?>

        <?php get_template_part("template-parts/single/post-social-share-mobile") ?>

        <?php get_template_part("template-parts/single/post-tags") ?>

        <?php if(wp_is_mobile() && get_field("trafgen") == 1): ?>

            <?php get_template_part("template-parts/single/post-infozoid-posts") ?>

        <?php endif; ?>

        <?php get_template_part("template-parts/single/post-most-popular") ?>

        <?php get_template_part("template-parts/partners/smi2") ?>

        <?php //get_template_part("template-parts/partners/setka") ?>

        <?php get_template_part("template-parts/ad/adfox/ad-inlist-1") ?>

        <?php get_template_part("template-parts/single/ajax-load-more") ?>

    </div>

</div>

<!--[/single/post]-->