Explorar el Código

Fix breadcrumbs 4

Håvard O. Nordstrand hace 5 años
padre
commit
deb1346815
Se han modificado 1 ficheros con 12 adiciones y 8 borrados
  1. 12 8
      _includes/header.md

+ 12 - 8
_includes/header.md

@@ -1,15 +1,19 @@
 # {{ site.name }} / {{ page.title }}
 {:.no_toc}
 
+{% assign space = " " %}
+
 {% if page.breadcrumbs %}
-> {%- for crumb in page.breadcrumbs -%}
-{%- if crumb.url -%}
-[{{- crumb.title -}}]({{- crumb.url -}})
-{%- else -%}
-{{- crumb.title -}}
-{%- endif -%}
-/
-{%- endfor -%}{{- page.title -}}
+>
+{%- for crumb in page.breadcrumbs -%}
+    {%- if crumb.url -%}
+        [{{ crumb.title }}]({{ crumb.url }})
+    {%- else -%}
+        {{ crumb.title }}
+    {%- endif -%}
+    {{ space }}/{{ space }}
+{%- endfor -%}
+{{ page.title }}
 {% endif %}
 
 {% if page.toc_enable %}