Permalink
Browse files

Update helper calls

Use 'JB/[HELPER]' format
  • Loading branch information...
1 parent 8b79986 commit 5c0a7a6dcd32449cb43d3f4b42f57e251196d9c1 @plusjade plusjade committed Jan 23, 2012
View
4 _includes/JB/categories_list
@@ -2,11 +2,11 @@
The categories_list include is a listing helper for categories.
Usage:
1) assign the 'categories_list' variable to a valid array of tags.
- 2) include helpers/categories_list.html.
+ 2) include JB/categories_list
example:
<ul>
{% assign categories_list = site.categories %}
- {% include helpers/categories_list.html %}
+ {% include JB/categories_list %}
</ul>
Notes:
View
4 _includes/JB/liquid_raw
@@ -11,15 +11,15 @@ intend to give liquid examples. It's not an elegant by any means:
Usage:
1) Define a 'text' variable with the block of liquid code you intend to display.
- 2) Pass the text variable to include helpers/liquid_raw.html.
+ 2) Pass the text variable to include JB/liquid_raw
example:
{% capture text %}|.% for tag in tags_list %.|
<li><a href="|.{ site.var.tags_path }.||.{ tag[0] }.|-ref">|.{ tag[0] }.| <span>|.{tag[1].size}.|</span></a></li>
|.% endfor %.|
|.% assign tags_list = null %.|{% endcapture %}
- {% include helpers/liquid_raw.html %}
+ {% include JB/liquid_raw %}
As seen here, you must use "|." and ".|" as opening and closing brackets.
-->{% endcomment%}
View
4 _includes/JB/pages_list
@@ -2,11 +2,11 @@
The pages_list include is a listing helper.
Usage:
1) assign the 'pages_list' variable to a valid array of pages or posts.
- 2) include helpers/pages_list.html.
+ 2) include JB/pages_list
example:
<ul>
{% assign pages_list = site.pages %}
- {% include helpers/pages_list.html %}
+ {% include JB/pages_list %}
</ul>
Grouping: (optional):
View
4 _includes/JB/posts_collate
@@ -2,10 +2,10 @@
Collate_posts helper. Collated posts by year and month.
Usage:
1) assign the 'posts_collate' variable to a valid array of posts.
- 2) include helpers/posts_collate.html.
+ 2) include JB/posts_collate
example:
{% assign posts_collate = site.posts %}
- {% include helpers/posts_collate.html %}
+ {% include JB/posts_collate %}
Ordering:
Posts are displayed in reverse chronological order.
View
4 _includes/JB/tags_list
@@ -2,11 +2,11 @@
The tags_list include is a listing helper for tags.
Usage:
1) assign the 'tags_list' variable to a valid array of tags.
- 2) include helpers/tags_list.html.
+ 2) include JB/tags_list
example:
<ul>
{% assign tags_list = site.tags %}
- {% include helpers/tags_list.html %}
+ {% include JB/tags_list %}
</ul>
Notes:
View
2 _includes/themes/mark-reid/post.html
@@ -3,7 +3,7 @@
<h1 class="emphnext">{{ page.title }}</h1>
<ul class="tag_box inline">
{% assign tags_list = page.tags %}
- {% include helpers/tags_list.html %}
+ {% include JB/tags_list %}
</ul>
{{ content }}
View
4 _includes/themes/the-minimum/post.html
@@ -24,12 +24,12 @@ <h1 class="h2 entry-title">{{ page.title }}</h1>
<ul class="list-category list-linear">
<li class="list-head">category: </li>
{% assign categories_list = page.categories %}
- {% include helpers/categories_list.html %}
+ {% include JB/categories_list %}
</ul>
<ul class="list-tag list-linear">
<li class="list-head">tags: </li>
{% assign tags_list = page.tags %}
- {% include helpers/tags_list.html %}
+ {% include JB/tags_list %}
</ul>
</div><!-- meta -->
</div><!-- entry-content -->
View
2 _includes/themes/twitter/default.html
@@ -33,7 +33,7 @@
<ul class="nav">
{% assign pages_list = site.pages %}
{% assign group = 'navigation' %}
- {% include helpers/pages_list.html %}
+ {% include JB/pages_list %}
</ul>
</div>
</div>
View
2 _includes/themes/twitter/post.html
@@ -33,7 +33,7 @@
<h4>Tags</h4>
<ul class="tag_box">
{% assign tags_list = page.tags %}
- {% include helpers/tags_list.html %}
+ {% include JB/tags_list %}
</ul>
{% endunless %}
</div>
View
2 _posts/core-samples/2011-12-29-jekyll-introduction.md
@@ -242,7 +242,7 @@ Render the content variable wherever you want your main content to be injected i
</div>
</body>
...{% endcapture %}
-{% include helpers/liquid_raw.html %}
+{% include JB/liquid_raw %}
### Sub-Templates
View
2 archive.html
@@ -7,4 +7,4 @@
{% include JB/setup %}
{% assign posts_collate = site.posts %}
-{% include helpers/posts_collate.html %}
+{% include JB/posts_collate %}
View
4 categories.html
@@ -8,15 +8,15 @@
<ul class="tag_box inline">
{% assign categories_list = site.categories %}
- {% include helpers/categories_list.html %}
+ {% include JB/categories_list %}
</ul>
{% for category in site.categories %}
<h2 id="{{ category[0] }}-ref">{{ category[0] | join: "/" }}</h2>
<ul>
{% assign pages_list = category[1] %}
- {% include helpers/pages_list.html %}
+ {% include JB/pages_list %}
</ul>
{% endfor %}
View
2 pages.html
@@ -9,5 +9,5 @@
<h2>All Pages</h2>
<ul>
{% assign pages_list = site.pages %}
-{% include helpers/pages_list.html %}
+{% include JB/pages_list %}
</ul>
View
4 tags.html
@@ -8,14 +8,14 @@
<ul class="tag_box inline">
{% assign tags_list = site.tags %}
- {% include helpers/tags_list.html %}
+ {% include JB/tags_list %}
</ul>
{% for tag in site.tags %}
<h2 id="{{ tag[0] }}-ref">{{ tag[0] }}</h2>
<ul>
{% assign pages_list = tag[1] %}
- {% include helpers/pages_list.html %}
+ {% include JB/pages_list %}
</ul>
{% endfor %}

0 comments on commit 5c0a7a6

Please sign in to comment.