Add missing [draft] tag on archive page

This commit is contained in:
Aditya Telange 2021-08-30 15:22:22 +05:30
parent 6ed6b7aac8
commit caa2240f12
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -30,6 +30,7 @@
<div class="archive-entry">
<h3 class="archive-entry-title">
{{- .Title | markdownify }}
{{- if .Draft }}<div class="entry-isdraft"><sup>&nbsp;&nbsp;[draft]</sup></div>{{- end }}
</h3>
<div class="archive-meta">
{{- partial "post_meta.html" . -}}