diff --git a/themes/vanilla/assets/scss/style.scss b/themes/vanilla/assets/scss/style.scss index b51b324..0956cb5 100755 --- a/themes/vanilla/assets/scss/style.scss +++ b/themes/vanilla/assets/scss/style.scss @@ -233,3 +233,10 @@ figure { .twitter-tweet { margin: auto; } + +.draft-warning { + @include bordered-block; + padding: 0.5rem; + background-color: #ffee99; + border-color: #f5c827; +} diff --git a/themes/vanilla/layouts/blog/single.html b/themes/vanilla/layouts/blog/single.html index da51380..185715f 100644 --- a/themes/vanilla/layouts/blog/single.html +++ b/themes/vanilla/layouts/blog/single.html @@ -18,6 +18,15 @@ {{ end }} + + {{ if .Draft }} +