<div class="entry-content">
		<?php 
the_content();
?>
		<?php 
wp_link_pages(array('before' => '<div class="page-links">' . __('Pages:', 'rootstrap'), 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '%', 'echo' => 1));
?>
	</div><!-- .entry-content -->

	<footer class="entry-meta">
		<?php 
/* translators: used between list items, there is a space after the comma */
$category_list = get_the_category_list(__(', ', 'rootstrap'));
/* translators: used between list items, there is a space after the comma */
$tag_list = get_the_tag_list('', __(', ', 'rootstrap'));
if (!rootstrap_categorized_blog()) {
    // This blog only has 1 category so we just need to worry about tags in the meta text
    if ('' != $tag_list) {
        $meta_text = '<i class="fa fa-folder-open-o"></i> %2$s. <i class="fa fa-link"></i> <a href="%3$s" rel="bookmark">permalink</a>.';
    } else {
        $meta_text = '<i class="fa fa-link"></i> <a href="%3$s" rel="bookmark">permalink</a>.';
    }
} else {
    // But this blog has loads of categories so we should probably display them here
    if ('' != $tag_list) {
        $meta_text = '<i class="fa fa-folder-open-o"></i> %1$s <i class="fa fa-tags"></i> %2$s. <i class="fa fa-link"></i> <a href="%3$s" rel="bookmark">permalink</a>.';
    } else {
        $meta_text = '<i class="fa fa-folder-open-o"></i> %1$s. <i class="fa fa-link"></i> <a href="%3$s" rel="bookmark">permalink</a>.';
    }
}
// end check for categories on this blog
		<span class="comments-link"><i class="fa fa-comment-o"></i><?php 
        comments_popup_link(__('Leave a comment', 'rootstrap'), __('1 Comment', 'rootstrap'), __('% Comments', 'rootstrap'));
        ?>
</span>
		<?php 
    }
    ?>

		<?php 
    if ('post' == get_post_type()) {
        // Hide category and tag text for pages on Search
        ?>
			<?php 
        /* translators: used between list items, there is a space after the comma */
        $categories_list = get_the_category_list(__(', ', 'rootstrap'));
        if ($categories_list && rootstrap_categorized_blog()) {
            ?>
			<span class="cat-links"><i class="fa fa-folder-open-o"></i>
				<?php 
            printf(__(' %1$s', 'rootstrap'), $categories_list);
            ?>
			</span>
			<?php 
        }
        // End if categories
        ?>
		<?php 
    }
    // End if 'post' == get_post_type()
    ?>