From cd5cb49995d4998df9060de49296c9dabca7252e Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Wed, 4 May 2022 11:04:08 +0200 Subject: Add draft admonitions --- layouts/posts/single.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'layouts/posts/single.html') diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 072168c..ce18ad5 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -5,6 +5,19 @@ {{- range .Params.tags }} #{{ . }} {{- end }} + {{- if .Draft }} +
+
+ draft +
+
+ This blog post is still a + draft. It has most likely been + shared with you for reviewing purposes. Please + do not yet share this with other people. +
+
+ {{- end }}
{{ .Content }} -- cgit v1.1