2022-11-11 05:48:02 +00:00
|
|
|
<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>
|
2023-12-12 22:40:30 +00:00
|
|
|
{{- range .Pages -}}
|
|
|
|
{{- if ( not ( and ( .Params.redact ) ( ne $.Site.Params.redact "show" ) ) ) -}}
|
2022-11-11 05:48:02 +00:00
|
|
|
<tr>
|
2023-12-12 22:40:30 +00:00
|
|
|
<td>
|
|
|
|
{{- if ( and ( .Params.redact ) ( ne $.Site.Params.redact "show" ) ) -}}
|
|
|
|
{{- if ( eq $.Site.Params.redact "black" ) -}}
|
|
|
|
{{- partialCached "redact-black.html" . -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- else -}}
|
|
|
|
{{- if .Params.featured_image -}}
|
|
|
|
<img class="organisation-table__logo" loading="lazy" src="
|
|
|
|
{{- if .Resources.GetMatch .Params.featured_image -}}
|
|
|
|
{{- ( .Resources.GetMatch .Params.featured_image ).RelPermalink -}}
|
|
|
|
{{- else -}}
|
|
|
|
{{- .Params.featured_image -}}
|
|
|
|
{{- end -}}
|
|
|
|
">
|
2022-11-11 05:48:02 +00:00
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
|
|
|
</td>
|
2023-10-03 12:08:35 +00:00
|
|
|
<td>
|
2023-12-12 22:40:30 +00:00
|
|
|
{{- if ( and ( .Params.redact ) ( ne $.Site.Params.redact "show" ) ) -}}
|
|
|
|
{{- if ( eq $.Site.Params.redact "black" ) -}}
|
|
|
|
{{- partialCached "redact-black.html" . -}}
|
|
|
|
{{- end -}}
|
|
|
|
{{- else -}}
|
|
|
|
<a href="{{ .RelPermalink }}">
|
|
|
|
{{- if .Params.TitleLang -}}<i lang="{{ .Params.TitleLang }}" title="{{ .Params.TitleTrans }}"}>{{- end -}}
|
|
|
|
{{- with .Params.markup_title -}}{{- . | safeHTML -}}{{- else -}}{{- .Title | safeHTML -}}{{- end -}}
|
|
|
|
{{- if .Params.TitleLang -}}</i>{{- end -}}
|
|
|
|
</a>
|
|
|
|
{{- end -}}
|
2023-10-03 12:08:35 +00:00
|
|
|
</td>
|
2022-11-11 05:48:02 +00:00
|
|
|
<td>{{- if gt (len .Sections) 0 -}}✔{{- end -}}</td>
|
|
|
|
<td></td>
|
|
|
|
</tr>
|
2023-12-12 22:40:30 +00:00
|
|
|
{{- end -}}
|
|
|
|
{{- end -}}
|
2022-11-11 05:48:02 +00:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</section>
|