diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index 01bb815..34608d7 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -6,35 +6,18 @@

{{ .Title }}

-
- {{ .Content }} - {{- range .Data.Terms.Alphabetical -}} -

{{ .Name | title }}

+ {{ .Content }} - {{- range .WeightedPages -}} -
-
- -

{{ .Title }}

-
+ {{- range .Data.Terms.Alphabetical -}} +

{{ .Name | title }}

- {{ if .Description }} -

{{ .Description }}

- {{ 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" }}