mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 09:03:02 -04:00
✨ Add draft post indicator
This commit is contained in:
@@ -4,6 +4,13 @@
|
||||
<h1 class="mt-0 text-4xl font-extrabold">{{ .Title }}</h1>
|
||||
<div class="mt-8 mb-12 text-base text-gray-400 dark:text-gray-500">
|
||||
{{ partial "article-meta.html" . }}
|
||||
{{ if .Draft }}
|
||||
<span
|
||||
class="ml-2 px-1 py-[2px] text-xs font-normal border rounded-md text-primary-700 dark:text-primary-400 border-primary-400 dark:border-primary-600 inline-block align-middle mb-1"
|
||||
>
|
||||
Draft
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
</header>
|
||||
<section class="prose dark:prose-light">
|
||||
|
||||
Reference in New Issue
Block a user