summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 842fa31..2b9ecc7 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -2,7 +2,10 @@
<article class="post-single">
<header class="post-header">
- <h1 class="post-title">{{ .Title }}</h1>
+ <h1 class="post-title">
+ {{ .Title }}
+ <div class="entry-isdraft">{{- if .Draft }}<sup>[draft]</sup>{{- end }}</div>
+ </h1>
<div class="post-meta">
{{- if or .Params.author .Site.Params.author }}
{{- .Params.author | default .Site.Params.author }} ยท {{ end }}