Skip to content

Commit 3c6ca3e

Browse files
author
Mike Moore
committed
Add chapters to homepage
1 parent 360e87b commit 3c6ca3e

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

index.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,19 @@ <h1>CoffeeScript Cookbook</h1>
1414
<p>
1515
<i>Note: I snagged this domain because I thought there was a need to curate a cookbook for CoffeeScript. If somebody else is doing a better job, please contact me. I would love to give you this domain.</i>
1616
</p>
17-
<p>Version 2.0</p>
17+
<h2>Working with Strings</h2>
18+
{% for page in site.pages %}
19+
<ul>
20+
{% if page.categories contains 'strings' %}
21+
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
22+
{% endif %}
23+
</ul>
24+
{% endfor %}
25+
<h2>Working with Arrays</h2>
26+
{% for page in site.pages %}
27+
<ul>
28+
{% if page.categories contains 'arrays' %}
29+
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
30+
{% endif %}
31+
</ul>
32+
{% endfor %}

0 commit comments

Comments
 (0)