Add note in the list of whether a post is a draft.
This commit is contained in:
@@ -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