diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 48d1ef3..f6573bc 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -7,7 +7,7 @@ {{ range .Pages }}
-

{{ .Title }}

+

{{ if .Draft }}(Draft) {{ end }}{{ .Title }}

{{ if eq .Date.IsZero false }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e64600d..9c651ca 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "title" }}{{ .Title }} – {{ .Site.Title }}{{ end }} {{ define "main" }}
-

{{ .Title }}

+

{{ if .Draft }}(Draft) {{ end }}{{ .Title }}

{{ if eq .Date.IsZero false }} @@ -13,6 +13,3 @@
{{ .Content }} {{ end }} - - - diff --git a/layouts/index.html b/layouts/index.html index 979e3f1..c8aeb26 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,7 +5,7 @@ {{ range first 2 ( where .Pages "Section" "posts" ) }}