32 lines
901 B
HTML
32 lines
901 B
HTML
<section class="site-content__body">
|
|
<table class="organisations-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Logo</th>
|
|
<th>Title</th>
|
|
<th>Children</th>
|
|
<th>Items</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{ range .Pages }}
|
|
<tr>
|
|
<td>
|
|
{{- if .Params.featured_image -}}
|
|
<img width="150" height="auto" loading="lazy" src="
|
|
{{- if .Resources.GetMatch .Params.featured_image -}}
|
|
{{- ( .Resources.GetMatch .Params.featured_image ).RelPermalink -}}
|
|
{{- else -}}
|
|
{{- .Params.featured_image -}}
|
|
{{- end -}}
|
|
">
|
|
{{- end -}}
|
|
</td>
|
|
<td><a href="{{ .RelPermalink }}">{{ .Title | safeHTML }}</a></td>
|
|
<td>{{- if gt (len .Sections) 0 -}}✔{{- end -}}</td>
|
|
<td></td>
|
|
</tr>
|
|
{{ end }}
|
|
</tbody>
|
|
</table>
|
|
</section>
|