improve appearance

This commit is contained in:
2025-06-09 11:45:49 -06:00
parent d4ac24c869
commit 97a31721d0
32 changed files with 8340 additions and 103 deletions

View File

@ -2,56 +2,55 @@
<h1>{{ .Title }}</h1>
{{ .Content }}
<section id="tools-list">
<h2>Tools</h2>
<table id="taxonomy-table">
<thead>
<tr>
<th>Tool</th>
<!-- <th>License</th> -->
<th>Applications</th>
<th>Developers</th>
<th>License</th>
<th>Purposes</th>
</tr>
</thead>
<tbody>
{{ range .Pages }}
<tr>
<tr onclick="window.location='{{ .RelPermalink }}'" style="cursor:pointer;"></tr>
<td><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></td>
<td>
{{ $sep := "" }}
{{ range $key, $vals := .Params }}
{{ if (in (slice "developers") $key) }}
{{ $sep }}
{{ range $i, $val := $vals }}
{{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }}
{{ end }}
{{ $sep = "; " }}
{{ if (in (slice "applications") $key) }}
{{ $sep }}
{{ range $i, $val := $vals }}
{{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }}
{{ end }}
{{ $sep = "; " }}
{{ end }}
{{ end }}
</td>
<td>
{{ $sep := "" }}
{{ range $key, $vals := .Params }}
{{ if (in (slice "developers") $key) }}
{{ $sep }}
{{ range $i, $val := $vals }}
{{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }}
{{ end }}
{{ $sep = "; " }}
{{ end }}
{{ end }}
</td>
<!-- <td>
{{ $sep := "" }}
{{ range $key, $vals := .Params }}
{{ if (in (slice "licenses") $key) }}
{{ $sep }}
{{ range $i, $val := $vals }}
{{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }}
{{ end }}
{{ $sep = "; " }}
{{ $sep }}
{{ range $i, $val := $vals }}
{{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }}
{{ end }}
{{ $sep = "; " }}
{{ end }}
{{ end }}
</td>
<td>
{{ $sep := "" }}
{{ range $key, $vals := .Params }}
{{ if (in (slice "purposes") $key) }}
{{ $sep }}
{{ range $i, $val := $vals }}
{{ partial "term-link.html" (dict "name" $val "taxonomy" $key) }}
{{ end }}
{{ $sep = "; " }}
{{ end }}
{{ end }}
</td>
</td> -->
</tr>
{{ end }}
</tbody>