<?php /* Template Name: JSR Team Member Template */ get_header(); 
include get_template_directory() . '/inc/menus/menu.php'; ?>
	<main role="main">
		<!-- section -->
		<?php $backgroundImg = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'full' );?>
		<div class="header-inner" style="background: linear-gradient(90deg, rgba(134, 134, 134, 0.7), rgba(21, 21, 21, 0.3)), url('/wp-content/themes/jsrconsult/images/team-banner.png') no-repeat center center; min-height: 100px; background-size: cover;">
    </div>
		
        
		<?php if (have_posts()): while (have_posts()) : the_post(); ?>

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

				<?php the_content(); ?>
				<div class="container-xxl">
				    <div class="back-to-people">
				        <a href="/our-people/" class="people-link">Back to People</a>
				    </div>
				<?php edit_post_link(); ?>
				</div>

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


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

		<?php endwhile; ?>

		<?php else: ?>

			<!-- article -->
			<article>

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

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

		<?php endif; ?>
            
		<!-- /section -->
	</main>


<?php get_footer(); ?>
