diff --git a/paddling_amenities.yaml b/paddling_amenities.yaml
index 36f55c2..a0e5da7 100644
--- a/paddling_amenities.yaml
+++ b/paddling_amenities.yaml
@@ -23,7 +23,7 @@ feature:
{% endif %}
{% set constIndex = (key ~ "=" ~ value) %}
- {% set amenity = const[constIndex] %}
+ {% set item = const[constIndex] %}
title: |
{{ localizedTag(tags, 'name') | default(localizedTag(tags, 'operator')) | default(localizedTag(tags, 'ref')) }}
@@ -32,28 +32,28 @@ feature:
body: |-
{% if constIndex in ['canoe=put_in', 'leisure=slipway','canoe=portage'] %}
- - Surface
- - {% if attribute(tags, 'surface') %}{{ tagTrans('surface', tags.surface) }}{% endif %}
+ - {{ keyTrans('surface') }}
+ - {{ tagTrans('surface', attribute(tags, 'surface')) }
- {{ keyTrans('description') }}
- - {{ localizedTag(tags, 'description') }}
+ - {{ localizedTag(tags, attribute(tags, 'description')) }}
- {{ keyTrans('access') }}
- - {{ tagTrans('access', tags.access) }}
+ - {{ tagTrans('access', attribute(tags, 'access')) }}
- {{ keyTrans('fee') }}
- - {{ tagTrans('fee', tags.fee) }}
+ - {{ tagTrans('fee', attribute(tags, 'fee')) }}
{% if attribute(tags, 'mapillary') %}
Mapillary Photo
{% endif %}
{% endif %}
- markerSign: '{{ const[constIndex][''sign''] }}'
+ markerSign: '{{ item[''sign''] }}'
priority: |-
- {% if const[constIndex] is defined %}
- {{ const[constIndex]['priority'] }}
+ {% if item is defined %}
+ {{ item['priority'] }}
{% else %}
10
{% endif %}