Add note in the list of whether a post is a draft.
This commit is contained in:
1 parent
1cf594f388
commit
d972f0c9fa
1 file changed
+3
@@ -20,6 +20,9 @@
|
||||
<li class="post-item">
|
||||
<a href="{{.Permalink}}" class="post-item-inner">
|
||||
<span class="post-title">
|
||||
{{ if .Params.draft }}
|
||||
{{ print "-=DRAFT=- "}}
|
||||
{{ end }}
|
||||
{{ if .Params.pinned }}
|
||||
<img style="display: inline-block; vertical-align: middle; margin-right: 4px;"
|
||||
src="/feathericons/16px-a9a9b3/paperclip.svg" alt=""
|
||||
|
||||
Reference in new issue
Block a user