chiark / gitweb /
theme: more indentation/whitespace fixes.
authorVladimír Vondruš <mosra@centrum.cz>
Wed, 23 Aug 2017 15:45:50 +0000 (17:45 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Wed, 23 Aug 2017 15:52:20 +0000 (17:52 +0200)
pelican-theme/templates/base.html

index c6e1d952aab2e347fc6cdbfa18485ba259568417..81980d0da2b6682df2790ec824c18ee4f783a735 100644 (file)
         <div class="m-col-s-3 m-col-t-6">
           {% if LINKS_FOOTER4 %}
           <h3>
-            {% if LINKS_FOOTER4[0][1] %}<a href="{{ LINKS_FOOTER4[0][1] }}/">{% endif %}
-            {{ LINKS_FOOTER4[0][0] }}
-            {% if LINKS_FOOTER4[0][1] %}</a>{% endif %}
+            {%- if LINKS_FOOTER4[0][1] %}<a href="{{ LINKS_FOOTER4[0][1] }}/">{% endif %}
+            {{- LINKS_FOOTER4[0][0] -}}
+            {% if LINKS_FOOTER4[0][1] %}</a>{% endif -%}
           </h4>
           <ul>
-            {% for title, link in LINKS_FOOTER4 %}
-            {% if loop.index0 != 0 %}<li><a href="{{ link }}">{{ title }}</a></li>{% endif %}
-            {% endfor %}
+            {% for title, link in LINKS_FOOTER4 %}{% if loop.index0 != 0 %}
+            <li><a href="{{ link }}">{{ title }}</a></li>
+            {% endif %}{% endfor %}
           </ul>
           {% else %}
           <h3><a href="{{ BLOGURL }}">Blog</a></h3>