<?php
/*
 * Template Name: About Me
 */
get_header( 'full-width' ); 
global $shapebootstrap_options;
?>

<div id="about-me">
	<?php if ($shapebootstrap_options['profile-top-banner']) { ?>
		<div class="profile">
			<?php if ( isset($shapebootstrap_options['profile-top-img-lg']) ) { ?>
				<img class="img-responsive" src="<?php echo  esc_url($shapebootstrap_options['profile-top-img-lg']['url']); ?>">
			<?php }?>	
			<div class="profile-inner clearfix">
				<div class="porfile-info pull-left media">
					<div class="pull-left">
						<?php if ( isset($shapebootstrap_options['profile-top-img-sm']) ) { ?>
							<img class="img-responsive" src="<?php echo  esc_url($shapebootstrap_options['profile-top-img-sm']['url']); ?>">
						<?php }?>	
					</div>
					<div class="media-body">
						<?php if ( isset($shapebootstrap_options['profile-page-name']) ) { ?>
							<h2><?php echo  esc_html($shapebootstrap_options['profile-page-name']);?></h2>
						<?php }?>

						<?php if ( isset($shapebootstrap_options['profile-page-desg']) ) { ?>
							<span><?php echo  esc_html($shapebootstrap_options['profile-page-desg']);?></span>
						<?php }?>
					</div>
				</div>
				<?php if ($shapebootstrap_options['download-en']) { ?>
					<div class="pull-right">
						<?php if ( isset($shapebootstrap_options['download-text']) ) { ?>
							<a class="btn-commom btn-cv-download" href="<?php echo  esc_url($shapebootstrap_options['download-link']);?>" target="_blank"><?php echo  esc_html($shapebootstrap_options['download-text']);?></a>
						<?php }?>
					</div>
				<?php }?>
			</div>
		</div>

	<?php }?>

    <div id="content" class="site-content default-page" role="main">
        <?php /* The loop */ ?>
        <?php while ( have_posts() ): the_post(); ?>

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

                <!-- <h1 class="entry-title"><?php the_title(); ?></h1> -->

                <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
                <div class="entry-thumbnail">
                    <?php the_post_thumbnail(); ?>
                </div>
                <?php endif; ?>

                <div class="entry-content">
                    <?php the_content(); ?>
                    <?php wp_link_pages(); ?>
                </div>

            </article>

            <?php // comment_template(); ?>

        <?php endwhile; ?>
    </div> <!--/#content-->
</div><!--/#about-me-->

</div><!-- .col-md-12 -->
<?php get_footer();