<?php /*
Template Name: Bookmarks
*/ ?>

<?php get_header(); ?>

	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
		
		<h1 class="archive-title"><?php the_title(); ?></h1>
		
		<?php if(get_the_content()) :  ?>
		<div <?php if(function_exists('post_class')) : post_class(); else : echo 'class="post clearfix"'; endif; ?>>
		
		    <?php the_content(); ?>
		    
		    <?php edit_post_link(__('Edit Page',TS_DOMAIN), '<p>', '</p>'); ?>
		
		</div>
		
		<div class="content-space"></div>
		<?php endif; ?>
		    
		<div id="page-bookmarks" class="clearfix">
    
    	    <?php wp_list_bookmarks('title_li=&category_before=<div class="box">&category_after=</div>&title_before=<h3>&title_after=</h3>'); ?>
    
    	</div>
		
	<?php endwhile; endif; ?>
	
<?php get_footer(); ?>