add [draft] mark
- to identify drafts from other posts
This commit is contained in:
parent
523098f87e
commit
d005d7d2bb
4 changed files with 19 additions and 4 deletions
|
|
@ -14,7 +14,10 @@
|
|||
{{- end }}
|
||||
<article class="{{ $class }}">
|
||||
<header class="entry-header">
|
||||
<h2>{{ .Title }}</h2>
|
||||
<h2>
|
||||
{{ .Title }}
|
||||
<div class="entry-isdraft">{{- if .Draft }}<sup>[draft]</sup>{{- end }}</div>
|
||||
</h2>
|
||||
</header>
|
||||
<section class="entry-content">
|
||||
<p>{{ .Summary | plainify | htmlUnescape }}...</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue