<?php /* Template Name: About Page Template */ get_header(); ?>

	<main role="main">
	    <?php $backgroundImg = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );?>
		<div class="header-wrap" style="background: linear-gradient(to top, rgba(94, 196, 1, 0.05), rgba(94, 196, 1, 0.1)), url('<?php echo $backgroundImg[0]; ?>') no-repeat;background-size: cover;background-position: center center; ">
        <div class="container"><div class="row"><div class="col-lg-12 align-self-baseline">
        <h1 class="entry-title" data-aos="fade-up"><?php the_title(); ?></h1>
        <!-- breadcrumb !-->
        </div></div></div>
        </div>
        <div class="page-title">
            <div class="container">
                <div class="row">
                    <div class="col-md-8 align-self-center" data-aos="fade-up"><h2 class="entry-title"><?php the_title(); ?></h2></div>
                    <div class="col-md-4 align-self-center"><?php custom_breadcrumb(); ?></div>
                </div>
            </div>
        </div>
		<!-- section -->
		<section>

		<?php if (have_posts()): while (have_posts()) : the_post(); ?>

			<!-- article -->
			<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

				<?php the_content(); ?>

				<?php comments_template( '', true ); // Remove if you don't want comments ?>

				<span class="clear">

				<?php edit_post_link(); ?>

			</article>
			<!-- /article -->

		<?php endwhile; ?>

		<?php else: ?>

			<!-- article -->
			<article>

				<h2><?php _e( 'Sorry, nothing to display.', 'kipya' ); ?></h2>

			</article>
			<!-- /article -->

		<?php endif; ?>

		</section>
		<!-- /section -->
 </main>


<?php get_footer(); ?>
