<?php
/**
 * Page content for inner pages.
 *
 * Title typography matches homepage section titles; colors stay theme-controlled.
 *
 * @package Tents_Singlepage_Child
 */

?>

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

		<?php
		if ( function_exists( 'twentyseventeen_edit_link' ) ) {
			twentyseventeen_edit_link( get_the_ID() );
		}
		?>
	</header><!-- .entry-header -->

	<div class="entry-content">
		<?php
		the_content();

		wp_link_pages(
			array(
				'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'tents-singlepage-child' ),
				'after'  => '</div>',
			)
		);
		?>
	</div><!-- .entry-content -->
</article>
