<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>

<article class="single-post">
    <div class="single-post-content">
        <h1 class="single-post-title-inside"><?php $this->title(); ?></h1>
        <div class="page-meta">
            <span><i class="fa-regular fa-calendar"></i> آخرین بروزرسانی: <?php echo getLocalizedDate($this->modified); ?></span>
        </div>
        <div class="post-content">
            <?php $this->content(); ?>
        </div>
    </div>
</article>

<?php if ($this->allow('comment')): ?>
    <?php $this->need('comments.php'); ?>
<?php endif; ?>

<?php $this->need('footer.php'); ?>
