File tree Expand file tree Collapse file tree 5 files changed +21
-81
lines changed Expand file tree Collapse file tree 5 files changed +21
-81
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ - Syntax
3
+ - Classes and Objects
4
+ - Strings
5
+ - Arrays
6
+ - Dates and Times
7
+ - Math
8
+ - Functions
9
+ - Metaprogramming
10
+ - jQuery
11
+ - Ajax
12
+ - Regular Expressions
13
+ - Networking
14
+ - Design Patterns
15
+ - Databases
16
+ - Testing
Original file line number Diff line number Diff line change 1
- ---
2
- chapters:
3
- - Syntax
4
- - Classes and Objects
5
- - Strings
6
- - Arrays
7
- - Dates and Times
8
- - Math
9
- - Functions
10
- - Metaprogramming
11
- - jQuery
12
- - Ajax
13
- - Regular Expressions
14
- - Networking
15
- - Design Patterns
16
- - Databases
17
- - Testing
18
- ---
19
-
20
1
<!doctype html>
21
2
< html >
22
3
< head >
@@ -72,7 +53,7 @@ <h6><a class="nav-link" href="{{ site.baseurl }}/"><span class="entypo">ó
72
53
< section class ="sidebar-block ">
73
54
< h5 class ="sidebar-title "> Chapters Index</ h5 >
74
55
< ol class ="navigation chapters-list ">
75
- {% for chapter in page .chapters %}
56
+ {% for chapter in site.data .chapters %}
76
57
{% capture url %}/chapters/{{ chapter | replace: ' ', '_' | downcase }}{% endcapture %}
77
58
{% capture indexurl %}{{ url }}/index.html{% endcapture %}
78
59
< li class ="chapter ">
@@ -97,4 +78,3 @@ <h5 class="sidebar-title">Chapters Index</h5>
97
78
98
79
</ body >
99
80
</ html >
100
-
Original file line number Diff line number Diff line change 1
- ---
2
- chapters:
3
- - Syntax
4
- - Classes and Objects
5
- - Strings
6
- - Arrays
7
- - Dates and Times
8
- - Math
9
- - Functions
10
- - Metaprogramming
11
- - jQuery
12
- - Ajax
13
- - Regular Expressions
14
- - Networking
15
- - Design Patterns
16
- - Databases
17
- - Testing
18
- ---
19
-
20
1
<!doctype html>
21
2
< html >
22
3
< head >
@@ -69,7 +50,7 @@ <h6><a class="nav-link" href="{{ site.baseurl }}/"><span class="entypo">ó
69
50
< section class ="sidebar-block ">
70
51
< h5 class ="sidebar-title "> Chapters Index</ h5 >
71
52
< ol class ="navigation chapters-list ">
72
- {% for chapter in page .chapters %}
53
+ {% for chapter in site.data .chapters %}
73
54
{% capture url %}/chapters/{{ chapter | replace: ' ', '_' | downcase }}{% endcapture %}
74
55
{% capture indexurl %}{{ url }}/index.html{% endcapture %}
75
56
< li class ="chapter ">
@@ -94,4 +75,3 @@ <h5 class="sidebar-title">Chapters Index</h5>
94
75
95
76
</ body >
96
77
</ html >
97
-
Original file line number Diff line number Diff line change 1
- ---
2
- chapters:
3
- - Syntax
4
- - Classes and Objects
5
- - Strings
6
- - Arrays
7
- - Dates and Times
8
- - Math
9
- - Functions
10
- - Metaprogramming
11
- - jQuery
12
- - Ajax
13
- - Regular Expressions
14
- - Networking
15
- - Design Patterns
16
- - Databases
17
- - Testing
18
- ---
19
-
20
1
<!doctype html>
21
2
< html >
22
3
< head >
@@ -71,7 +52,7 @@ <h6><a class="nav-link" href="{{ site.baseurl }}/"><span class="entypo">ó
71
52
< section class ="sidebar-block ">
72
53
< h5 class ="sidebar-title "> Chapters Index</ h5 >
73
54
< ol class ="navigation chapters-list ">
74
- {% for chapter in page .chapters %}
55
+ {% for chapter in site.data .chapters %}
75
56
{% capture url %}/chapters/{{ chapter | replace: ' ', '_' | downcase }}{% endcapture %}
76
57
{% capture indexurl %}{{ url }}/index.html{% endcapture %}
77
58
< li class ="chapter ">
@@ -96,4 +77,3 @@ <h5 class="sidebar-title">Chapters Index</h5>
96
77
97
78
</ body >
98
79
</ html >
99
-
Original file line number Diff line number Diff line change 1
1
---
2
2
layout: default
3
3
title: Cookbook
4
- chapters:
5
- - Syntax
6
- - Classes and Objects
7
- - Strings
8
- - Arrays
9
- - Dates and Times
10
- - Math
11
- - Functions
12
- - Metaprogramming
13
- - jQuery
14
- - Ajax
15
- - Regular Expressions
16
- - Networking
17
- - Design Patterns
18
- - Databases
19
- - Testing
20
4
---
21
5
22
6
< article class ="content-block ">
23
7
24
8
< h5 class ="sidebar-title "> Chapters</ h5 >
25
9
26
10
< ol class ="navigation chapters-list ">
27
- {% for chapter in page .chapters %}
11
+ {% for chapter in site.data .chapters %}
28
12
{% capture url %}/chapters/{{ chapter | replace: ' ', '_' | downcase }}{% endcapture %}
29
13
{% capture indexurl %}{{ url }}/index.html{% endcapture %}
30
14
< li class ="chapter ">
@@ -42,4 +26,4 @@ <h4><a class="chapter-title" href="{{ site.baseurl }}{{ url }}">{{ chapter }}</a
42
26
{% endfor %}
43
27
</ ol >
44
28
45
- </ article >
29
+ </ article >
You can’t perform that action at this time.
0 commit comments