{{/* table of pages: machines get company/year/type columns; companies are a plain list. Takes the pages, or (dict "pages" … "head" true) to add the column headers (sortable). */}} {{ $pages := . }}{{ $head := false }} {{ if reflect.IsMap . }}{{ $pages = .pages }}{{ $head = .head }}{{ end }} {{ if eq (index $pages 0).Section "companies" }}
| Name | Year | {{ if eq (index $pages 0).Section "software" }}Tags{{ else }}Type{{ end }} | Origin |
|---|---|---|---|
| {{ .Title }} | {{ partial "terms.html" (dict "page" . "taxonomy" "years") }} | {{ partial "terms.html" (dict "page" . "taxonomy" "types") }}{{ partial "terms.html" (dict "page" . "taxonomy" "tags") }}{{ partial "terms.html" (dict "page" . "taxonomy" "topics") }} | {{ partial "terms.html" (dict "page" . "taxonomy" "origins") }} |