<?php 
	get_header(); 
?>

	<!--SITE CONTENTS-->
	<div id="site-contents">

		<?php
			if(get_option('luna_hide_welcome')!="true") {
				?>
				<!--SLIDE TEXT-->
				<div class="slide-text">
					<h1><?php echo get_option( 'luna_welcome_title' ); ?></h1>
					<span class="subtext"><?php echo get_option( 'luna_welcome_subtitle' ); ?></span>
				</div>
				<?php
			}
		?>


		<!--INSIDE CONTENT-->
		<div class="inside-content clear">

			<!--LEFT CONTAINER-->
			<div class="left-container">

				<!--PAGE CONTENT-->
				<div class="page-content">
					<h5><?php the_title(); ?></h5>
					<div>
						<?php 
							if (have_posts()) : 
								while (have_posts()) : the_post(); 
									the_content(); 								
								endwhile; 
							endif;
						?>
					</div>
				</div>	

			</div>

			<div class="sidebar">
				<?php
					if($sidebar_choice == "Default") {
						get_sidebar();
					}else {
						get_custom_sidebar(); 
					}
				?>
			</div>

		</div>

	</div>
	

<?php get_footer(); ?>