Commit ef6ca40
Add location_country field to events.yaml and update addressCountry in show.antlers.html (#35)
- Introduced a new field `location_country` in events.yaml to capture the two-letter ISO country code.
- Updated the `addressCountry` in show.antlers.html to dynamically use the `location_country` value or fallback to the site's short locale.
Co-authored-by: Eugene Karuna <[email protected]>1 parent aa1078a commit ef6ca40
File tree
2 files changed
+23
-1
lines changed- resources/presets/events/resources
- blueprints/collections/events
- views/events
2 files changed
+23
-1
lines changedLines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
182 | 204 | | |
183 | 205 | | |
184 | 206 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
0 commit comments