🐛 Fix showDraftLabel setting not applying

This commit is contained in:
James Panther
2021-08-16 10:14:51 +10:00
parent 7285cac334
commit ce39d7438e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
{{ else }}
<a class="hover:underline" href="{{ .Permalink }}">{{ .Title }}</a>
{{ end }}
{{ if .Draft }}
{{ if and .Draft .Site.Params.article.showDraftLabel }}
<span
class="ml-1 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"
>