diff --git a/assets/css/common/post-entry.css b/assets/css/common/post-entry.css index 1ed117b3..885aa2a4 100644 --- a/assets/css/common/post-entry.css +++ b/assets/css/common/post-entry.css @@ -86,10 +86,6 @@ color: var(--secondary); } -.entry-isdraft { - display: inline; -} - .entry-cover { margin-bottom: var(--gap); text-align: center; diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index 1ccfb023..435d2a1e 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -30,7 +30,7 @@

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

{{- partial "post_meta.html" . -}} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 57f9ad37..0cc1ad9e 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -54,7 +54,7 @@

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

{{- if (ne (.Param "hideSummary") true) }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 8d42cd75..355697e2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -5,7 +5,7 @@ {{ partial "breadcrumbs.html" . }}

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

{{- if .Description }}