diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0dd7286b..89ced7aa 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -40,7 +40,7 @@

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

{{if (ne .Site.Params.hideSummary true)}} @@ -50,10 +50,10 @@ {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 6778345c..781a05d6 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -9,11 +9,11 @@ {{ if .Params.hideMeta }}{{ else }}
- {{ if $.Site.Params.ShowReadingTime }} . - {{ $default_txt := print .ReadingTime " " "min" }} - {{ i18n "read_time" .ReadingTime | default $default_txt }}{{ end }} - {{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }} - {{ if .IsTranslated -}}| + {{- if $.Site.Params.ShowReadingTime -}} .  + {{- $default_txt := print .ReadingTime " " "min" }} + {{- i18n "read_time" .ReadingTime | default $default_txt }}{{ end }} + {{- if or .Params.author .Site.Params.author }} . {{- .Params.author | default .Site.Params.author }}{{ end }} + {{- if .IsTranslated -}} |