Skip to content

Commit 8e9842e

Browse files
committed
Fixed recipe breadcrumbs when chapter has spaces
1 parent 1849bc4 commit 8e9842e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_layouts/recipe.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<header>
99
<h1>
1010
<a href="/">CoffeeScript Cookbook</a> &raquo;
11-
<a href="/chapters/{{ page.chapter | downcase }}">{{ page.chapter }}</a> &raquo;
11+
<a href="/chapters/{{ page.chapter | replace: ' ', '_' | downcase }}">{{ page.chapter }}</a> &raquo;
1212
{{ page.title }}
1313
</h1>
1414
<a href="/chapters">Chapter Index</a> |

0 commit comments

Comments
 (0)