Skip to content

Commit cf29d5c

Browse files
committed
Add state information
1 parent 79093f1 commit cf29d5c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

templates/wqp-location-oriented.j2

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,15 @@
7878
],
7979
{% endif -%}
8080

81-
{%- if data["county"] -%}
81+
{%- if data["county"] or data["state"] -%}
8282
"gsp:sfWithin": [
83-
{
84-
"@id": "{{ data['county'] }}"
85-
}
83+
{%- if data["county"] -%}
84+
{ "@id": "{{ data['county'] }}" }
85+
{%- if data["state"] -%}, {%- endif -%}
86+
{%- endif -%}
87+
{%- if data["state"] -%}
88+
{ "@id": "{{ data['state'] }}" }
89+
{%- endif -%}
8690
],
8791
{% endif -%}
8892

0 commit comments

Comments
 (0)