<?php
namespace core_next;
?>
<!doctype html>
<html lang="zh">
<?php get_template_part('template/views/header'); ?>
<body>
<div id="core-next-app">
    <app-header ref="app_header" id="app-header"></app-header>
    <?php
    do_action('core_next_ad', 'post1', 10, 10); ?>
    <main class="container">
        <div class="main-warp">
            <?php
            get_template_part('template/module/post');
            do_action('core_next_ad', 'post4', 10, 10);
            get_template_part('template/module/related-articles');
            ?>
            <app-comment id="app-comment"></app-comment>
        </div>
        <aside>
            <?php dynamic_sidebar('post_sidebar'); ?>
        </aside>
    </main>
    <?php do_action('core_next_ad', 'post5', 10, 10); ?>
    <?php get_template_part('template/module/footer'); ?>
</div>
<?php get_template_part('template/module/body-end'); ?>
</body>
<?php wp_footer(); ?>
</html>