elbee-elgee / now-reading / author.php

The default branch has multiple heads

Full commit
<?php get_header() ?>

<div class="content">
	<div id="content" class="now-reading primary narrowcolumn">
	<div class="post">
		<?php if( can_now_reading_admin() ) : ?>
			<p>Admin: &raquo; <a href="<?php manage_library_url() ?>">Manage Books</a></p>
		<?php endif; ?>
		<?php library_search_form() ?>
		<p><a href="<?php library_url() ?>">&larr; Back to library</a></p>
		<h2>Books by <?php the_book_author() ?></h2>
		<?php if( have_books("author={$GLOBALS['nr_author']}") ) : ?>
			<?php while( have_books("author={$GLOBALS['nr_author']}") ) : the_book(); ?>
					<p><a href="<?php book_permalink() ?>"><img src="<?php book_image() ?>" alt="<?php book_title() ?>" /></a></p>
					<p><?php book_title() ?></p>
			<?php endwhile; ?>
		<?php else : ?>
			<p>There are no books by this author!</p>
		<?php endif; ?>
		<?php do_action('nr_footer'); ?>

<?php get_sidebar() ?>

<?php get_footer() ?>