<?php get_header(); ?>
    <h1 class="pagetit text-center">
        <?php the_title(); ?>
    </h1>
    <section class="content">

        <div class="page-main">
            <div class="container">
                <?php if (has_post_thumbnail()) : ?>
                    <div class="page-thumb text-center mb-2">
                        <?php the_post_thumbnail('full', ['class' => 'img-fluid']); ?>
                    </div>
                <?php endif; ?>
                <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
                    <div class="page-editor">
                        <?php the_content(); ?>
                    </div>
                <?php endwhile; endif; ?>
            </div>
        </div>

    </section>

<?php get_footer(); ?>