diff --git a/layouts/_default/list.html b/layouts/_default/list.html index b482bbd..d8f5568 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -9,7 +9,7 @@ {{- range .Data.Pages -}} {{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
  • - {{.Title}} {{ dateFormat "01-02-2006 15:04:05" .Date }}{{ if .Draft }} DRAFT {{ end }} + {{.Title}} DRAFT {{ end }}
  • {{- end -}} {{- end -}} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e7036f8..5523fb6 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -3,7 +3,7 @@

    {{ .Title }}

    -
    Опубликовано {{ dateFormat "01-02-2006 15:04:05" .Date }}{{ if .Draft }} DRAFT {{ end }}
    +
    Опубликовано DRAFT {{ end }}
    {{ if isset .Params "tldr" }}
    diff --git a/layouts/_default/term.html b/layouts/_default/term.html index b482bbd..8d2ed75 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -9,7 +9,7 @@ {{- range .Data.Pages -}} {{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
  • - {{.Title}} {{ dateFormat "01-02-2006 15:04:05" .Date }}{{ if .Draft }} DRAFT {{ end }} + {{.Title}}
  • {{- end -}} {{- end -}}