- {{ else if lt .WordCount 110 }}
- {{ .Content }}
- {{ else }}
- {{ warnf "Post \"%s\" doesn't have a description or content suitable for the blog list" .Title }}
-
{{ .WordCount }} words
- {{ end }}
-
- {{ partial "footer_tags.html" . }}
-
- {{ partial "development/draft_tag.html" . }}
-
- {{- end -}}
+ {{- range .WeightedPages -}}
+ {{ if or (not .Draft) (not hugo.IsProduction) }}
+ {{ .Render "li_grid_with_date" }}
+ {{ end }}
{{- end -}}
-
+ {{- end -}}
{{ end }}
{{ define "footer" }}