diff --git a/cycle_routes.json b/cycle_routes.json index 68a8b96..836fa7a 100644 --- a/cycle_routes.json +++ b/cycle_routes.json @@ -75,10 +75,14 @@ " {% for n in master.tags.network|split(';') %}", " {% if n|matches('cn$') %}{% set masterNetwork = n %}{% endif %}", " {% endfor %}", - "
  • ", - "
    {{ markerLine({ width: 4, color: const[masterNetwork].color|default(const[''].color) })|raw }}
    ", - " {% if master.tags.ref and master.tags.name %}{{ master.tags.ref }} - {{ master.tags.name|default(master.tags.ref) }}{% elseif master.tags.ref %}{{ master.tags.ref }}{% elseif master.tags.name %}{{ master.tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}", - " {{ tagTrans('network', masterNetwork) }}", + "
  • ", + "
    ", + "
    {{ markerLine({ width: 4, color: const[masterNetwork].color|default(const[''].color) })|raw }}
    ", + "
    ", + "
    ", + "
    {{ tagTrans('network', masterNetwork) }}
    ", + "
    {% if master.tags.ref and master.tags.name %}{{ master.tags.ref }} - {{ master.tags.name|default(master.tags.ref) }}{% elseif master.tags.ref %}{{ master.tags.ref }}{% elseif master.tags.name %}{{ master.tags.name }}{% else %}{{ trans('unnamed') }}{% endif %}
    ", + "
    ", "
  • ", "{% endfor %}", "" diff --git a/hiking_routes.json b/hiking_routes.json index a31378b..3ba0c5f 100644 --- a/hiking_routes.json +++ b/hiking_routes.json @@ -58,11 +58,15 @@ " {% for n in master.tags.network|split(';') %}", " {% if n|matches('wn$') %}{% set masterNetwork = n %}{% endif %}", " {% endfor %}", - "
  • ", - "
    {{ markerLine({ width: 4, color: const[masterNetwork].color|default(const[''].color) })|raw }}
    ", - " {% if master.tags.ref and master.tags.name %}{{ master.tags.ref }} - {{ master.tags.name|default(master.tags.ref) }}{% elseif master.tags.ref %}{{ master.tags.ref }}{% elseif master.tags.name %}{{ master.tags.name }}{% endif %}", - " {{ tagTrans('network', masterNetwork) }}", - "
  • ", + "
  • ", + "
    ", + "
    {{ markerLine({ width: 4, color: const[masterNetwork].color|default(const[''].color) })|raw }}
    ", + "
    ", + "
    ", + "
    {{ tagTrans('network', masterNetwork) }}
    ", + "
    {% if master.tags.ref and master.tags.name %}{{ master.tags.ref }} - {{ master.tags.name|default(master.tags.ref) }}{% elseif master.tags.ref %}{{ master.tags.ref }}{% elseif master.tags.name %}{{ master.tags.name }}{% endif %}
    ", + "
    ", + "
  • ", "{% endfor %}", "" ],