File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,16 @@ <h1>Chapter Index</h1>
6
6
< h2 > Working with Strings</ h2 >
7
7
{% for page in site.pages %}
8
8
< ul >
9
- {% if page.categories contains 'strings' %}
9
+ {% if page.url contains '/chapters/ strings/ ' %}
10
10
< li > < a href ="{{ page.url }} "> {{ page.title }}</ a > </ li >
11
11
{% endif %}
12
12
</ ul >
13
13
{% endfor %}
14
14
< h2 > Working with Arrays</ h2 >
15
15
{% for page in site.pages %}
16
16
< ul >
17
- {% if page.categories contains 'arrays' %}
17
+ {% if page.url contains '/chapters/ arrays/ ' %}
18
18
< li > < a href ="{{ page.url }} "> {{ page.title }}</ a > </ li >
19
19
{% endif %}
20
20
</ ul >
21
- {% endfor %}
21
+ {% endfor %}
Original file line number Diff line number Diff line change @@ -17,15 +17,15 @@ <h1>CoffeeScript Cookbook</h1>
17
17
< h2 > Working with Strings</ h2 >
18
18
{% for page in site.pages %}
19
19
< ul >
20
- {% if page.categories contains 'strings' %}
20
+ {% if page.url contains '/chapters/ strings/ ' %}
21
21
< li > < a href ="{{ page.url }} "> {{ page.title }}</ a > </ li >
22
22
{% endif %}
23
23
</ ul >
24
24
{% endfor %}
25
25
< h2 > Working with Arrays</ h2 >
26
26
{% for page in site.pages %}
27
27
< ul >
28
- {% if page.categories contains 'arrays' %}
28
+ {% if page.url contains '/chapters/ arrays/ ' %}
29
29
< li > < a href ="{{ page.url }} "> {{ page.title }}</ a > </ li >
30
30
{% endif %}
31
31
</ ul >
You can’t perform that action at this time.
0 commit comments