X-Git-Url: https://git.toastfreeware.priv.at/philipp/winterrodeln/wradmin.git/blobdiff_plain/be5b286eed9ca4e8b1bc9dfdf0bf381a0747a5e8..cd19e8dae036e3ccb73d6ee50684442142fcda77:/wradmin/templates/rodelbahn_view_wikitext.html diff --git a/wradmin/templates/rodelbahn_view_wikitext.html b/wradmin/templates/rodelbahn_view_wikitext.html index b41a68d..11d7044 100644 --- a/wradmin/templates/rodelbahn_view_wikitext.html +++ b/wradmin/templates/rodelbahn_view_wikitext.html @@ -19,7 +19,11 @@ ** {% if 'text' in info %}[{{ info['url'] }} {{ info['text'] }}]{% else %}{{ info['url'] }}{% endif %}{% endfor %} * '''Betreiber''': {{ operator }} * '''Hütten''':{% for info in sledrun_json.get('gastronomy', []) %} -** {% if 'wr_page' in info %}{% if 'name' in info %}[[{{ info['name'] }}|{{ info['wr_page']['title'] }}]]{% else %}{{ info['wr_page'] }}{% endif %}{% endif %}{% endfor %} +** {% if 'wr_page' in info -%} + {% if 'name' in info %}[[{{ info['name'] }}|{{ info['wr_page']['title'] }}]] + {%- else %}{{ info['wr_page'] }}{% endif -%} + {% endif -%} + {% endfor %} * '''Andere Rodelbahnen''': ** [[Untermarkter Alm]] * '''Siehe auch''':{% for info in sledrun_json.get('see_also', []) %}