diff --git a/assets/css/post-entry.css b/assets/css/post-entry.css index 96453822..9d5e0795 100644 --- a/assets/css/post-entry.css +++ b/assets/css/post-entry.css @@ -76,4 +76,10 @@ right: 0; top: 0; bottom: 0; -} \ No newline at end of file +} + +.entry-isdraft { + display: inline; + color: var(--secondary); + font-size: 14px; +} diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 938fbee8..186a0495 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -22,7 +22,10 @@ {{- end }}
-

{{ .Title }}

+

+ {{ .Title }} +
{{- if .Draft }}[draft]{{- end }}
+

{{ .Summary | plainify | htmlUnescape }}...

diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 969f98b6..1ee7ce9e 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -14,7 +14,10 @@ {{- end }}
-

{{ .Title }}

+

+ {{ .Title }} +
{{- if .Draft }}[draft]{{- end }}
+

{{ .Summary | plainify | htmlUnescape }}...

diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 842fa318..2b9ecc7a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,10 @@
-

{{ .Title }}

+

+ {{ .Title }} +
{{- if .Draft }}[draft]{{- end }}
+