*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 12ed8f05 authored by Moser, Maximilian's avatar Moser, Maximilian
Browse files

Fix overzealous whitespace trimming in jinja blocks

* this resulted in invalid html and thus in weird visuals
parent 37128fc3
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,6 @@
{%- endblock javascript %}
{%- block page_body %}
<div data-invenio-search-config='{
"aggs": [
{
......@@ -80,5 +79,4 @@
}
]
}'></div>
{%- endblock page_body %}
......@@ -7,7 +7,7 @@
under the terms of the MIT License; see LICENSE file for more details.
#}
<!DOCTYPE html>
<html {%- if html_css_classes -%}class="{{ html_css_classes|join(' ') }}"{%- endif -%} lang="{{ current_i18n.locale.language|safe }}" dir="{{ current_i18n.locale.text_direction }}">
<html {%- if html_css_classes %}class="{{ html_css_classes|join(' ') }}"{% endif %} lang="{{ current_i18n.locale.language|safe }}" dir="{{ current_i18n.locale.text_direction }}">
<head>
{%- block head %}
{%- block head_meta %}
......@@ -81,8 +81,8 @@
{%- endblock head %}
</head>
<body {%- if body_css_classes -%} class="{{ body_css_classes|join(' ') }}" {%- endif -%}
{%- if g.ln -%} lang="{{ g.ln.split('_', 1)[0]|safe }}" {%- if rtl_direction -%}{{ rtl_direction|safe }} {%- endif -%}{%- endif -%}
<body {%- if body_css_classes %} class="{{ body_css_classes|join(' ') }}" {% endif %}
{%- if g.ln %} lang="{{ g.ln.split('_', 1)[0]|safe }}" {%- if rtl_direction %}{{ rtl_direction|safe }} {% endif %}{% endif %}
itemscope itemtype="http://schema.org/WebPage" data-spy="scroll" data-target=".scrollspy-target">
{%- if config.THEME_TUW_DISPLAY_STAGING_WARNING -%}
<div id="staging-banner">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment