add draft label

This commit is contained in:
Satria 2026-07-14 15:31:22 +07:00
commit 1adcfa0cbd
3 changed files with 6 additions and 3 deletions

View file

@ -34,7 +34,10 @@
</header>
<main class="my-6">
<h1 class="text-4xl font-bold">[[POST_TITLE]]</h1>
<span class="text-ctp-subtext0 italic block mb-10">[[DATE]]</span>
<span class="text-ctp-subtext0 italic block mb-10">
[[DATE]]
<span class="text-ctp-yellow [[SHOW_DRAFT]]">(unlisted: marked as draft)</span>
</span>
[[CONTENT]]
</main>
<footer>