File tree Expand file tree Collapse file tree 14 files changed +22
-22
lines changed
Expand file tree Collapse file tree 14 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 22The categories_list include is a listing helper for categories.
33Usage:
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:
Original file line number Diff line number Diff line change @@ -11,15 +11,15 @@ intend to give liquid examples. It's not an elegant by any means:
1111
1212Usage:
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%}
Original file line number Diff line number Diff line change 22The pages_list include is a listing helper.
33Usage:
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):
Original file line number Diff line number Diff line change 22Collate_posts helper. Collated posts by year and month.
33Usage:
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.
Original file line number Diff line number Diff line change 22The tags_list include is a listing helper for tags.
33Usage:
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:
Original file line number Diff line number Diff line change 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 }}
Original file line number Diff line number Diff 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 -->
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments