Skip to content

Commit 099b951

Browse files
David Bradysreid
authored andcommitted
Removed recipe count as it does not actually work on github :-(
1 parent f5688fd commit 099b951

File tree

3 files changed

+2
-46
lines changed

3 files changed

+2
-46
lines changed

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
pygments: true
2+
lsi: false
23
exclude:
34
- README
45
- CNAME

chapters/index.textile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ chapters:
1414
- AJAX
1515
---
1616

17-
{% comment %} Hack to count up actual recipes {% endcomment %}
18-
{% capture recipe_count %}{% endcapture %}
1917

2018
{% for chapter in page.chapters %}
2119
{% capture url %}/chapters/{{ chapter | replace: ' ', '_' | downcase }}{% endcapture %}
@@ -26,12 +24,10 @@ h2. <a href="{{ url }}">{{ chapter }}</a>
2624
{% for page in site.pages %}
2725
{% if page.url contains url %}
2826
{% unless page.url == indexurl %}
29-
{% capture recipe_count %}word {{ recipe_count }}{% endcapture %}
30-
* <a href="{{ page.url | replace: '.html', '' }}">{{ page.title }}</a>
27+
* <a href="{{ page.url | replace: '.html', '' }}">{{ page.title }}</a>
3128
{% endunless %}
3229
{% endif %}
3330
{% endfor %}
3431
{% endfor %}
3532

36-
_The CoffeeScript Cookbook currently has {{ recipe_count | number_of_words }} recipes in {{ page.chapters | size }} chapters._
3733

chapters/index2.textile

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)