Explorar o código

Fix breadcrumbs

Håvard O. Nordstrand %!s(int64=5) %!d(string=hai) anos
pai
achega
5a1a9d971f
Modificáronse 1 ficheiros con 2 adicións e 4 borrados
  1. 2 4
      _includes/header.md

+ 2 - 4
_includes/header.md

@@ -2,16 +2,14 @@
 {:.no_toc}
 
 {% if page.breadcrumbs %}
-> {% strip %}
-    {% for crumb in page.breadcrumbs %}
+> {% for crumb in page.breadcrumbs -%}
         {% if crumb.url %}
         [{{ crumb.title }}]({{ crumb.url }})
         {% else %}
         {{ crumb.title }}
         {% endif %}
         /
-    {% endfor %}
-    {{ page.title }}
+    {%- endfor %}{{ page.title }}
 {% endif %}
 
 {% if page.toc_enable %}