diff --git a/layouts/index.html b/layouts/index.html
index 5b5d87a..b71dd49 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -14,7 +14,7 @@
{{ $paginator := .Paginate (where $pages "Params.hidden" "ne" true) }}
{{ range $paginator.Pages }}
-
{{ dateFormat "Jan 2, 2006" .Date }}
+
{{ dateFormat "Jan 2, 2006" .Date }}{{ if .Draft }} DRAFT {{ end }}
{{.Title}} —
{{ if isset .Params "description" }}
diff --git a/static/css/main.css b/static/css/main.css
index 69f4c7f..c0603d7 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -284,6 +284,15 @@ ul {
margin-top: 10px;
}
+.post .draft-label {
+ color: #a00;
+ text-decoration: none;
+ padding: 2px 4px;
+ border-radius: 4px;
+ margin-left: 6px;
+ background-color: #f9f2f4;
+}
+
.list .posts .post .meta {
margin-bottom: 0;
margin-left: 5px;