<?php get_header();?>
<?php // 投稿のスラッグを取得
 $page = get_post( get_the_ID() ); $slug = $page->post_name; 
?>
        <main class="page-container">
        <!-- page-head -->
        <?php get_template_part('template-parts/page-head'); ?>
        <!-- /page-head -->
            <?php if(have_posts()):?>
            <?php while(have_posts()): the_post();?>
            <div class="post inner">
                     <?php the_content(); ?>
            </div>
            <?php endwhile; endif; ?>
        </main> 

<?php get_footer(); ?>