Selaa lähdekoodia

Fix breadcrumbs 2

Håvard O. Nordstrand 5 vuotta sitten
vanhempi
commit
e68a718046
1 muutettua tiedostoa jossa 7 lisäystä ja 7 poistoa
  1. 7 7
      _includes/header.md

+ 7 - 7
_includes/header.md

@@ -2,14 +2,14 @@
 {:.no_toc}
 
 {% if page.breadcrumbs %}
-> {% for crumb in page.breadcrumbs -%}
-{% if crumb.url %}
-[{{ crumb.title }}]({{ crumb.url }})
-{% else %}
-{{ crumb.title }}
-{% endif %}
+> {%- 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 %}