<?php
/**
 * @package Swifty Site Designer
 */
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
	<header class="entry-header">
		<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>

<!--		<div class="entry-meta">-->
<!--			--><?php //swifty_site_designer_posted_on(); ?>
		<!--</div>--><!-- .entry-meta -->
	</header><!-- .entry-header -->

	<div class="entry-content">
		<?php if( has_post_thumbnail() ) :
			global $swifty_lib_dir;
			if( isset( $swifty_lib_dir ) ) {
				require_once $swifty_lib_dir . '/php/lib/swifty-image-functions.php';
			}
			?>

			<div class="swc_blog_image">
				<?php echo SwiftyImageFunctions::get_img_tag( wp_get_attachment_url( get_post_thumbnail_id( $post->ID ) ) ); ?>
			</div>
		<?php endif; ?>

		<?php the_content(); ?>
		<?php
			wp_link_pages( array(
				'before' => '<div class="page-links">' . __( 'Pages:', 'swifty-site-designer' ),
				'after'  => '</div>',
			) );
		?>
	</div><!-- .entry-content -->

	<footer class="entry-footer">
		<?php swifty_site_designer_entry_footer(); ?>
	</footer><!-- .entry-footer -->
</article><!-- #post-## -->
