- {% block content %}
+ {% block content -%}
{{ section.content | safe }}
{% endblock content %}
@@ -141,7 +142,7 @@
-{% endif %}
+{% endif -%}
diff --git a/templates/index.html b/templates/index.html index 32c157f..d4c407d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,19 +3,19 @@
- {% if config.extra.favicon %} - {% set _favicon = config.extra.favicon %} - {% if (_favicon is starting_with("http")) == false %} - {% set _favicon = get_url(path=config.extra.favicon) %} - {% endif %} + {% if config.extra.favicon -%} + {% set _favicon = config.extra.favicon -%} + {% if (_favicon is starting_with("http")) == false -%} + {% set _favicon = get_url(path=config.extra.favicon) -%} + {% endif -%} - {% endif %} + {% endif -%}