Skip to content

Commit 5c0a7a6

Browse files
committed
Update helper calls
Use 'JB/[HELPER]' format
1 parent 8b79986 commit 5c0a7a6

14 files changed

+22
-22
lines changed

_includes/JB/categories_list

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
The categories_list include is a listing helper for categories.
33
Usage:
44
1) assign the 'categories_list' variable to a valid array of tags.
5-
2) include helpers/categories_list.html.
5+
2) include JB/categories_list
66
example:
77
<ul>
88
{% assign categories_list = site.categories %}
9-
{% include helpers/categories_list.html %}
9+
{% include JB/categories_list %}
1010
</ul>
1111

1212
Notes:

_includes/JB/liquid_raw

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ intend to give liquid examples. It's not an elegant by any means:
1111

1212
Usage:
1313
1) Define a 'text' variable with the block of liquid code you intend to display.
14-
2) Pass the text variable to include helpers/liquid_raw.html.
14+
2) Pass the text variable to include JB/liquid_raw
1515

1616
example:
1717
{% capture text %}|.% for tag in tags_list %.|
1818
<li><a href="|.{ site.var.tags_path }.||.{ tag[0] }.|-ref">|.{ tag[0] }.| <span>|.{tag[1].size}.|</span></a></li>
1919
|.% endfor %.|
2020

2121
|.% assign tags_list = null %.|{% endcapture %}
22-
{% include helpers/liquid_raw.html %}
22+
{% include JB/liquid_raw %}
2323

2424
As seen here, you must use "|." and ".|" as opening and closing brackets.
2525
-->{% endcomment%}

_includes/JB/pages_list

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
The pages_list include is a listing helper.
33
Usage:
44
1) assign the 'pages_list' variable to a valid array of pages or posts.
5-
2) include helpers/pages_list.html.
5+
2) include JB/pages_list
66
example:
77
<ul>
88
{% assign pages_list = site.pages %}
9-
{% include helpers/pages_list.html %}
9+
{% include JB/pages_list %}
1010
</ul>
1111

1212
Grouping: (optional):

_includes/JB/posts_collate

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
Collate_posts helper. Collated posts by year and month.
33
Usage:
44
1) assign the 'posts_collate' variable to a valid array of posts.
5-
2) include helpers/posts_collate.html.
5+
2) include JB/posts_collate
66
example:
77
{% assign posts_collate = site.posts %}
8-
{% include helpers/posts_collate.html %}
8+
{% include JB/posts_collate %}
99

1010
Ordering:
1111
Posts are displayed in reverse chronological order.

_includes/JB/tags_list

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
The tags_list include is a listing helper for tags.
33
Usage:
44
1) assign the 'tags_list' variable to a valid array of tags.
5-
2) include helpers/tags_list.html.
5+
2) include JB/tags_list
66
example:
77
<ul>
88
{% assign tags_list = site.tags %}
9-
{% include helpers/tags_list.html %}
9+
{% include JB/tags_list %}
1010
</ul>
1111

1212
Notes:

_includes/themes/mark-reid/post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<h1 class="emphnext">{{ page.title }}</h1>
44
<ul class="tag_box inline">
55
{% assign tags_list = page.tags %}
6-
{% include helpers/tags_list.html %}
6+
{% include JB/tags_list %}
77
</ul>
88

99
{{ content }}

_includes/themes/the-minimum/post.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ <h1 class="h2 entry-title">{{ page.title }}</h1>
2424
<ul class="list-category list-linear">
2525
<li class="list-head">category: </li>
2626
{% assign categories_list = page.categories %}
27-
{% include helpers/categories_list.html %}
27+
{% include JB/categories_list %}
2828
</ul>
2929
<ul class="list-tag list-linear">
3030
<li class="list-head">tags: </li>
3131
{% assign tags_list = page.tags %}
32-
{% include helpers/tags_list.html %}
32+
{% include JB/tags_list %}
3333
</ul>
3434
</div><!-- meta -->
3535
</div><!-- entry-content -->

_includes/themes/twitter/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<ul class="nav">
3434
{% assign pages_list = site.pages %}
3535
{% assign group = 'navigation' %}
36-
{% include helpers/pages_list.html %}
36+
{% include JB/pages_list %}
3737
</ul>
3838
</div>
3939
</div>

_includes/themes/twitter/post.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ <h4>Published</h4>
3333
<h4>Tags</h4>
3434
<ul class="tag_box">
3535
{% assign tags_list = page.tags %}
36-
{% include helpers/tags_list.html %}
36+
{% include JB/tags_list %}
3737
</ul>
3838
{% endunless %}
3939
</div>

_posts/core-samples/2011-12-29-jekyll-introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ Render the content variable wherever you want your main content to be injected i
242242
</div>
243243
</body>
244244
...{% endcapture %}
245-
{% include helpers/liquid_raw.html %}
245+
{% include JB/liquid_raw %}
246246

247247
### Sub-Templates
248248

archive.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
{% include JB/setup %}
88

99
{% assign posts_collate = site.posts %}
10-
{% include helpers/posts_collate.html %}
10+
{% include JB/posts_collate %}

categories.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88

99
<ul class="tag_box inline">
1010
{% assign categories_list = site.categories %}
11-
{% include helpers/categories_list.html %}
11+
{% include JB/categories_list %}
1212
</ul>
1313

1414

1515
{% for category in site.categories %}
1616
<h2 id="{{ category[0] }}-ref">{{ category[0] | join: "/" }}</h2>
1717
<ul>
1818
{% assign pages_list = category[1] %}
19-
{% include helpers/pages_list.html %}
19+
{% include JB/pages_list %}
2020
</ul>
2121
{% endfor %}
2222

pages.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
<h2>All Pages</h2>
1010
<ul>
1111
{% assign pages_list = site.pages %}
12-
{% include helpers/pages_list.html %}
12+
{% include JB/pages_list %}
1313
</ul>

tags.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88

99
<ul class="tag_box inline">
1010
{% assign tags_list = site.tags %}
11-
{% include helpers/tags_list.html %}
11+
{% include JB/tags_list %}
1212
</ul>
1313

1414

1515
{% for tag in site.tags %}
1616
<h2 id="{{ tag[0] }}-ref">{{ tag[0] }}</h2>
1717
<ul>
1818
{% assign pages_list = tag[1] %}
19-
{% include helpers/pages_list.html %}
19+
{% include JB/pages_list %}
2020
</ul>
2121
{% endfor %}

0 commit comments

Comments
 (0)