From 94eada156d7b0d5469000553da3651bc3d6e62a1 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 28 Jul 2020 12:36:53 +0530 Subject: [PATCH] draft tag `[draft]` improve --- layouts/_default/index.html | 2 +- layouts/_default/list.html | 2 +- layouts/_default/single.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/index.html b/layouts/_default/index.html index 2fc24eb5..89090519 100644 --- a/layouts/_default/index.html +++ b/layouts/_default/index.html @@ -24,7 +24,7 @@

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

diff --git a/layouts/_default/list.html b/layouts/_default/list.html index afdc6d1d..21224c39 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -19,7 +19,7 @@

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

diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 625bafb9..fbc395f3 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -4,7 +4,7 @@

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