<?php
/**
 * The template use to display the document details.
 *
 * @package Doc8
 * @version 1.0.0
 */
?>
<article id="doc-<?php the_ID(); ?>" <?php post_class(); ?>>
	<header class="document-header">
		<?php the_title( '<h2 class="document-title">', '</h2>' ); ?>
	</header>
	<div class="document-entry-content">
		<?php the_content(); ?>
	</div>
</article>

<?php
the_post_navigation( array(
	'prev_text' => '<span class="screen-reader-text">' . __( 'Previous Post', 'docu' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . __( 'Previous', 'docu' ) . '</span> <span class="nav-title">%title</span>',
	'next_text' => '<span class="screen-reader-text">' . __( 'Next Post', 'docu' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . __( 'Next', 'docu' ) . '</span> <span class="nav-title">%title</span>',
) );