diff --git a/layouts/partials/util/get_location_leaf_nodes.html b/layouts/partials/util/get_location_leaf_nodes.html index 52917cb..3e09d7e 100644 --- a/layouts/partials/util/get_location_leaf_nodes.html +++ b/layouts/partials/util/get_location_leaf_nodes.html @@ -8,11 +8,13 @@ {{- $locations := ( dict ) -}} {{- range $k, $v := . -}} + {{- if not ( isset $v "redact" ) -}} {{- if ( isset $v "lat" ) -}} - {{- $locations = merge $locations ( dict $k $v ) -}} + {{- $locations = merge $locations ( dict $k $v ) -}} {{- else -}} - {{- $locations = merge $locations ( partial "util/get_location_leaf_nodes.html" . ) -}} + {{- $locations = merge $locations ( partial "util/get_location_leaf_nodes.html" . ) -}} {{- end -}} + {{- end -}} {{- end -}} {{- return $locations -}}