@@ -6,7 +6,7 @@ title: Cookbook
6
6
h2. Objects
7
7
8
8
{% for page in site.pages %}
9
- {% if page.url contains '/chapters/objects' %}
9
+ {% if page.url contains '/chapters/objects/ ' %}
10
10
* <a href="{{ page.url | replace: '.html', '' }}">{{ page.title }}</a>
11
11
{% endif %}
12
12
{% endfor %}
@@ -32,7 +32,7 @@ h2. Working with Arrays
32
32
h2. Dates and Times
33
33
34
34
{% for page in site.pages %}
35
- {% if page.url contains '/chapters/dates-and-times %}
35
+ {% if page.url contains '/chapters/dates-and-times/' %}
36
36
* <a href="{{ page.url | replace: '.html', '' }}">{{ page.title }}</a>
37
37
{% endif %}
38
38
{% endfor %}
@@ -41,7 +41,7 @@ h2. Dates and Times
41
41
h2. Math
42
42
43
43
{% for page in site.pages %}
44
- {% if page.url contains '/chapters/math' %}
44
+ {% if page.url contains '/chapters/math/ ' %}
45
45
* <a href="{{ page.url | replace: '.html', '' }}">{{ page.title }}</a>
46
46
{% endif %}
47
47
{% endfor %}
@@ -50,7 +50,7 @@ h2. Math
50
50
h2. Functions
51
51
52
52
{% for page in site.pages %}
53
- {% if page.url contains '/chapters/functions' %}
53
+ {% if page.url contains '/chapters/functions/ ' %}
54
54
* <a href="{{ page.url | replace: '.html', '' }}">{{ page.title }}</a>
55
55
{% endif %}
56
56
{% endfor %}
@@ -59,7 +59,7 @@ h2. Functions
59
59
h2. jQuery
60
60
61
61
{% for page in site.pages %}
62
- {% if page.url contains '/chapters/jquery' %}
62
+ {% if page.url contains '/chapters/jquery/ ' %}
63
63
* <a href="{{ page.url | replace: '.html', '' }}">{{ page.title }}</a>
64
64
{% endif %}
65
65
{% endfor %}
@@ -68,7 +68,7 @@ h2. jQuery
68
68
h2. Regular Expressions
69
69
70
70
{% for page in site.pages %}
71
- {% if page.url contains '/chapters/regular-expressions' %}
71
+ {% if page.url contains '/chapters/regular-expressions/ ' %}
72
72
* <a href="{{ page.url | replace: '.html', '' }}">{{ page.title }}</a>
73
73
{% endif %}
74
74
{% endfor %}
@@ -77,7 +77,7 @@ h2. Regular Expressions
77
77
h2. AJAX
78
78
79
79
{% for page in site.pages %}
80
- {% if page.url contains '/chapters/ajax' %}
80
+ {% if page.url contains '/chapters/ajax/ ' %}
81
81
* <a href="{{ page.url | replace: '.html', '' }}">{{ page.title }}</a>
82
82
{% endif %}
83
83
{% endfor %}
0 commit comments