summaryrefslogtreecommitdiff
path: root/layouts/_default/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/index.html')
-rw-r--r--layouts/_default/index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/_default/index.html b/layouts/_default/index.html
index 938fbee..186a049 100644
--- a/layouts/_default/index.html
+++ b/layouts/_default/index.html
@@ -22,7 +22,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>