Browse Source

Update 'edible-plants.json'

test
parent
commit
dc4d262e5c
  1. 5
      edible-plants.json

5
edible-trees.json → edible-plants.json

@ -14,19 +14,22 @@
}, },
"feature": { "feature": {
"pre": [ "pre": [
"{% set species = null %}",
"{% if tags.taxon %}", "{% if tags.taxon %}",
"{% set species = tags.taxon %}", "{% set species = tags.taxon %}",
"{% else %}", "{% else %}",
"{% set species = tags.species %}", "{% set species = tags.species %}",
"{% endif %}", "{% endif %}",
"", "",
"{% set data = null %}",
"{% for d in const %}", "{% for d in const %}",
"{% if species|matches(d.match) %}", "{% if species|matches(d.match) %}",
"{% set data = d }}",
"{% set data = d %}",
"{% endif %}", "{% endif %}",
"{% endfor %}" "{% endfor %}"
], ],
"description": [ "description": [
"{{ attribute(data, \"name:en\") }} -",
"{% if tags.taxon %}", "{% if tags.taxon %}",
"{{ localizedTag(tags, 'taxon') }}", "{{ localizedTag(tags, 'taxon') }}",
"{% else %}", "{% else %}",
Loading…
Cancel
Save