<?php
/**
 * PufferGo Fullpage Layout — plugin-owned header + content + footer.
 *
 * 不使用主题的 header/footer，确保生成页面外观一致。
 * 对应 WordPress Page Template: puffergo-fullpage.php
 *
 * @package PufferGo
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

require PUFFERGO_PLUGIN_DIR . '/templates/scaffold/init.php';

require PUFFERGO_PLUGIN_DIR . '/templates/scaffold/document-open.php';
PufferGo_Template_Loader::render_header();
?>

<main class="puffergo-fullpage-layout puffergo-page-content">
	<?php
	while ( have_posts() ) {
		the_post();
		the_content();
	}
	?>
</main>

<?php
PufferGo_Template_Loader::render_footer();
require PUFFERGO_PLUGIN_DIR . '/templates/scaffold/document-close.php';
