diff --git a/layouts/_partials/page-list.html b/layouts/_partials/page-list.html index 336c129c..37f7cf1c 100644 --- a/layouts/_partials/page-list.html +++ b/layouts/_partials/page-list.html @@ -1,4 +1,11 @@ -{{/* table of pages: machines get company/year/type columns */}} +{{/* table of pages: machines get company/year/type columns; companies are a plain list */}} +{{ if eq (index . 0).Section "companies" }} + +{{ else }} {{ range . }} @@ -11,3 +18,4 @@ {{ end }}
+{{ end }} diff --git a/layouts/companies/section.html b/layouts/companies/section.html index 66ef787d..eb54b2c3 100644 --- a/layouts/companies/section.html +++ b/layouts/companies/section.html @@ -1,9 +1,5 @@ {{ define "main" }}

{{ .Title }}

{{ len .RegularPages }} manufacturers.

- +{{ partial "letters.html" (.RegularPages.ByTitle) }} {{ end }}