chiark / gitweb /
theme: unbreak footer links with empty SITEURL.
authorVladimír Vondruš <mosra@centrum.cz>
Thu, 14 Sep 2017 21:45:28 +0000 (23:45 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Thu, 14 Sep 2017 22:11:11 +0000 (00:11 +0200)
pelican-theme/templates/base.html

index c76c005933a42829b4eb2a45acfda544dc54deae..ac9db964be83f8fcbc5c8f4ad69638c47113bc46 100644 (file)
@@ -74,7 +74,7 @@
       <div class="m-row">
         <div class="m-col-s-3 m-col-t-6">
           <h3>
-            {%- if LINKS_FOOTER1[0][1] %}<a href="{{ LINKS_FOOTER1[0][1] }}/">{% endif %}
+            {%- if LINKS_FOOTER1[0][1] %}<a href="{{ LINKS_FOOTER1[0][1] }}">{% endif %}
             {{- LINKS_FOOTER1[0][0] -}}
             {% if LINKS_FOOTER1[0][1] -%}</a>{% endif -%}
           </h3>
@@ -86,7 +86,7 @@
         </div>
         <div class="m-col-s-3 m-col-t-6">
           <h3>
-            {%- if LINKS_FOOTER2[0][1] %}<a href="{{ LINKS_FOOTER2[0][1] }}/">{% endif %}
+            {%- if LINKS_FOOTER2[0][1] %}<a href="{{ LINKS_FOOTER2[0][1] }}">{% endif %}
             {{- LINKS_FOOTER2[0][0] -}}
             {% if LINKS_FOOTER2[0][1] %}</a>{% endif -%}
           </h3>
@@ -99,7 +99,7 @@
         <div class="m-clearfix-t"></div>
         <div class="m-col-s-3 m-col-t-6">
           <h3>
-            {%- if LINKS_FOOTER3[0][1] %}<a href="{{ LINKS_FOOTER3[0][1] }}/">{% endif %}
+            {%- if LINKS_FOOTER3[0][1] %}<a href="{{ LINKS_FOOTER3[0][1] }}">{% endif %}
             {{- LINKS_FOOTER3[0][0] -}}
             {% if LINKS_FOOTER3[0][1] %}</a>{% endif -%}
           </h3>
         <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 %}
+            {%- if LINKS_FOOTER4[0][1] %}<a href="{{ LINKS_FOOTER4[0][1] }}">{% endif %}
             {{- LINKS_FOOTER4[0][0] -}}
             {% if LINKS_FOOTER4[0][1] %}</a>{% endif -%}
           </h4>