From 2ecb4b6f859510726aa4fe2a360cd2d12be6ff76 Mon Sep 17 00:00:00 2001 From: Philipp Spitzer Date: Sun, 5 Jun 2022 18:35:20 +0200 Subject: [PATCH] Adjust some newlines/spacings. --- wrpylib/templates/sledrun_wikitext.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wrpylib/templates/sledrun_wikitext.txt b/wrpylib/templates/sledrun_wikitext.txt index d5bc0e4..110fb3d 100644 --- a/wrpylib/templates/sledrun_wikitext.txt +++ b/wrpylib/templates/sledrun_wikitext.txt @@ -81,9 +81,8 @@ {{ public_transport_description | trim }} {%- else -%} ''Hier wird die Anreise mit öffentlichen Verkehrsmitteln beschrieben.'' -{%- endif %} - -{% for pt_stop in public_transport_stops -%} +{% endif %} +{% for pt_stop in public_transport_stops %} * {{ h.list_template('Haltestelle', [pt_stop.municipality, pt_stop.name_local, h.json_pos_ele_position(pt_stop.get('position', {})), h.json_pos_ele_elevation(pt_stop.get('position', {}))]) }} {%- if pt_stop.note %} ({{ pt_stop.note }}){% endif %} {% for template_name in ['monitor_template', 'route_arrival_template', 'route_departure_template'] -%} @@ -98,7 +97,7 @@ {%- endif %} ** {% if pt_line.timetable_template is defined %}{{ h.json_template(pt_line.timetable_template) }} {%- else %}{{ pt_line.name }}{% endif %} -{%- endfor %} +{%- endfor -%} {% for link in public_transport_links -%} {% if loop.first -%} * '''Fahrplan''': @@ -106,6 +105,7 @@ ** {{ weblink(link) }} {%- endfor %} + == Anreise mit dem Auto == {% if car_description -%} {{ car_description | trim }} -- 2.39.5