<?php
/**
 * Template Name: Jiawaz Simple Template
 *
 * @package WordPress
 */
__('Jiawaz Simple Template', TEXT_DOMAIN);

get_header();
if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'single' ) ):?>
    <main>
        <?php if (have_posts()): ?><?php while (have_posts()): the_post(); ?>

            <div class="mt-4 mb-5">
                <div class="custom-container">

                    <!-- breadcrumb -->
                    <?php banta_breadcrumb(); ?>

                    <!-- page head -->
                    <?php $thumbnailUrl = get_the_post_thumbnail_url(); ?>
                    <div class="single-page-head" style="background-image: url(<?php echo $thumbnailUrl; ?>)">
                        <div class="single-page-head-content">
                            <h1 class="single-title"><?php the_title(); ?></h1>
                        </div>
                    </div>

                    <!-- content -->
                    <div class="single-box-content-simple">
                        <div class="html-content">
                            <?php the_content(); ?>
                        </div>
                    </div>

                </div>
            </div>

        <?php endwhile; ?>
        <?php endif; ?>
    </main>
<?php endif; get_footer(); ?>