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


            <div class="page-main">
                <div class="container">
                    <?php if (has_post_thumbnail()) : ?>
                        <div class="page-thumb mb-3">
                            <?php the_post_thumbnail('full', ['class' => 'img-fluid mx-auto d-block']); ?>
                        </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>
        </div>
    </section>

<?php get_footer(); ?>