mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 10:31:39 +01:00
Add missing [draft]
tag on archive page
This commit is contained in:
parent
6ed6b7aac8
commit
caa2240f12
@ -30,6 +30,7 @@
|
|||||||
<div class="archive-entry">
|
<div class="archive-entry">
|
||||||
<h3 class="archive-entry-title">
|
<h3 class="archive-entry-title">
|
||||||
{{- .Title | markdownify }}
|
{{- .Title | markdownify }}
|
||||||
|
{{- if .Draft }}<div class="entry-isdraft"><sup> [draft]</sup></div>{{- end }}
|
||||||
</h3>
|
</h3>
|
||||||
<div class="archive-meta">
|
<div class="archive-meta">
|
||||||
{{- partial "post_meta.html" . -}}
|
{{- partial "post_meta.html" . -}}
|
||||||
|
Loading…
Reference in New Issue
Block a user