Meta
{{- if .GetTerms "categories" -}}
{{- end -}}
{{- if .GetTerms "areas" -}}
{{- end -}}
{{- if .GetTerms "skills" -}}
Skills
{{- .Scratch.Set "i" 0 -}}
{{- range ( .GetTerms "skills" ).ByTitle -}}
{{- if hasPrefix .LinkTitle "CIISec/" -}}
- {{ .LinkTitle }} (level {{ index $.Params.skills_ciisec_levels ( $.Scratch.Get "i" ) }})
{{- $.Scratch.Add "i" 1 -}}
{{- else -}}
- {{ .LinkTitle }}
{{- end -}}
{{- end -}}
{{- end -}}
{{- if .GetTerms "organisations" -}}
Organisations
{{ $all_organisations := partialCached "get_all_organisations.html" . }}
{{- range ( .GetTerms "organisations" ) -}}
{{ with ( union ( union ( where $all_organisations "Title" ( .Title | plainify ) ) ( where $all_organisations "Params.abbreviation" ( .Title | plainify ) ) ) ( where $all_organisations "Params.fka" ( .Title | plainify ) ) ) }}
{{ range . }}
{{- if ( and ( .Params.redact ) ( ne $.Site.Params.redact "show" ) ) -}}
{{- if ( eq $.Site.Params.redact "black" ) -}}
- {{- partialCached "redact-black.html" . -}}
{{- end -}}
{{- else -}}
- {{ if ( .Params.markup_title ) }}{{ .Params.markup_title | safeHTML }}{{ else }}{{ .Title }}{{ end }}
{{- end -}}
{{ end }}
{{ else }}
{{ erroridf "missing-organisation" "Could not find organisation %q (%q)" .Title $.File.Path }}
- {{ if ( .Params.markup_title ) }}{{ .Params.markup_title | safeHTML }}{{ else }}{{ .Title }}{{ end }}
{{ end }}
{{- end -}}
{{- end -}}
{{- if .GetTerms "locations" -}}
{{- end -}}
{{- if .GetTerms "tags" -}}
{{- end -}}