<?php
if(!defined('ABSPATH')) exit;
?>

<div class="author-info-box">
    <div class="author-avater">
        <?php include get_template_directory() . '/template/common-parts/author-avater.php'; ?>
    </div>
    <div class="author-info-container">
        <div class="author-meta-container">
            <div class="author-name">
                <?php echo esc_html(get_the_author()); ?>
            </div>
            <div class="author-bio">
                <?php echo esc_html(get_the_author_meta('description'));?>
            </div>
        </div>
        <div class="author-post-link">
            <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta('ID') ) ); ?>">
                執筆した記事を見る
            </a>
        </div>
    </div>
</div>