agnes-dot-love-pureblog/content/layouts/notes.php
2026-11-17 22:01:10 -05:00

9 lines
389 B
PHP

<article class="note-single">
<?= render_markdown($post['content'], ['post_title' => '']) ?>
<?php if ($post['date']): ?>
<p class="note-date">
<time datetime="<?= e(format_datetime_for_display((string) $post['date'], $config, 'c')) ?>"><?= e(format_post_date_for_display((string) $post['date'], $config)) ?></time>
</p>
<?php endif; ?>
</article>