{{- $regionID := .Get "region" -}} {{- $region := index site.Data.dpa_directory $regionID -}} {{- if not $region -}} {{- errorf "dpa-directory-table: unknown region %q (valid: africa, asia, europe, north-america, oceania, south-america)" $regionID -}} {{- end -}}
{{- range $region.entries }} {{- end }}
{{ $region.caption }}
Region Privacy Law Abbreviation DPA Contact Complaint
{{- if .region_bold }}{{ end }}{{ .region }}{{ if .region_bold }}{{ end }} {{ .law.name }} {{ .abbreviation }} {{ .dpa.name }} {{- if reflect.IsMap .contact -}} {{- partial "dpa-directory/cell.html" .contact -}} {{- else -}} {{- .contact -}} {{- end -}} {{- if reflect.IsMap .complaint -}} {{- partial "dpa-directory/cell.html" .complaint -}} {{- else -}} {{- .complaint -}} {{- end -}}

Edit this table on GitHub →