agnes-dot-love-pureblog/content/layouts/notes.php

10 lines
389 B
PHP
Raw Permalink Normal View History

2026-11-18 03:01:10 +00:00
<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>