publiccode.si/site/layouts/partials/subpage_sigtable.html

23 lines
545 B
HTML

<table id="signatures">
<thead>
<tr>
<th>{{ .Params.tableName }}</th>
<th>{{ .Params.tableCountry }}</th>
<th>{{ .Params.tableComment }}</th>
</tr>
</thead>
<tbody>
{{ range .Site.Data.signatures.data }}
{{ range sort . "id" "desc" }}
{{ if (eq .confirmed "yes") | and (eq .permPub "yes") }}
<tr>
<td>{{ .name }}</td>
<td>{{ .country }}</td>
<td>{{ .comment }}</td>
</tr>
{{ end }}
{{ end }}
{{ end }}
</tbody>
</table>