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 }} {{ 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 ( where $all_organisations "Title" ( .Title | plainify ) ) }}
{{ range . }}
- {{ if ( .Params.markup_title ) }}{{ .Params.markup_title | safeHTML }}{{ else }}{{ .Title }}{{ end }}
{{ end }}
{{ else }}
{{ warnf "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 -}}