Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YDRjtmAiNpo5mK5N3d7QwZ
22 lines
834 B
HTML
22 lines
834 B
HTML
{{/* table of pages: machines get company/year/type columns; companies are a plain list */}}
|
|
{{ if eq (index . 0).Section "companies" }}
|
|
<ul class="columns">
|
|
{{ range . }}
|
|
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a> <small>({{ len .Params.machines }})</small></li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ else }}
|
|
<table class="list">
|
|
<tbody>
|
|
{{ range . }}
|
|
<tr>
|
|
<td><a href="{{ .RelPermalink }}">{{ .Title }}</a></td>
|
|
<td>{{ partial "terms.html" (dict "page" . "taxonomy" "years") }}</td>
|
|
<td>{{ partial "terms.html" (dict "page" . "taxonomy" "types") }}{{ partial "terms.html" (dict "page" . "taxonomy" "tags") }}{{ partial "terms.html" (dict "page" . "taxonomy" "topics") }}</td>
|
|
<td>{{ partial "terms.html" (dict "page" . "taxonomy" "origins") }}</td>
|
|
</tr>
|
|
{{ end }}
|
|
</tbody>
|
|
</table>
|
|
{{ end }}
|