diff options
Diffstat (limited to 'layouts/_default/list.html')
| -rw-r--r-- | layouts/_default/list.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 0dd7286..89ced7a 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -40,7 +40,7 @@ <header class="entry-header"> <h2> {{ .Title }} - {{- if .Draft }}<div class="entry-isdraft"><sup>  [draft]</sup></div>{{- end }} + {{- if .Draft }}<div class="entry-isdraft"><sup> [draft]</sup></div>{{- end }} </h2> </header> {{if (ne .Site.Params.hideSummary true)}} @@ -50,10 +50,10 @@ {{ end }} <footer class="entry-footer"> <time>{{ .Date.Format "January 2, 2006" }}</time> - {{ 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 $.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 }} </footer> <a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a> </article> |
