<?php
/**
 * Custom homepage template (Theme Engine).
 * Renders: global header + stored home body + global footer.
 * No get_header() / get_footer() — the active theme is fully bypassed.
 */
if ( ! defined( 'ABSPATH' ) ) exit;

$lq_engine = new Linkquiver_Theme_Engine();
$lq_header = do_shortcode( $lq_engine->get_header_html() );
$lq_body   = do_shortcode( $lq_engine->get_home_body_html() );
$lq_footer = do_shortcode( $lq_engine->get_footer_html() );
?><!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php echo $lq_header; ?>
<main class="site-main"><?php echo $lq_body; ?></main>
<?php echo $lq_footer; ?>
<?php wp_footer(); ?>
</body>
</html>
