From 5c0a7a6dcd32449cb43d3f4b42f57e251196d9c1 Mon Sep 17 00:00:00 2001 From: Jade Dominguez Date: Mon, 23 Jan 2012 03:28:28 -0800 Subject: [PATCH] Update helper calls Use 'JB/[HELPER]' format --- _includes/JB/categories_list | 4 ++-- _includes/JB/liquid_raw | 4 ++-- _includes/JB/pages_list | 4 ++-- _includes/JB/posts_collate | 4 ++-- _includes/JB/tags_list | 4 ++-- _includes/themes/mark-reid/post.html | 2 +- _includes/themes/the-minimum/post.html | 4 ++-- _includes/themes/twitter/default.html | 2 +- _includes/themes/twitter/post.html | 2 +- _posts/core-samples/2011-12-29-jekyll-introduction.md | 2 +- archive.html | 2 +- categories.html | 4 ++-- pages.html | 2 +- tags.html | 4 ++-- 14 files changed, 22 insertions(+), 22 deletions(-) diff --git a/_includes/JB/categories_list b/_includes/JB/categories_list index ae5e6b5d38..218f5251da 100644 --- a/_includes/JB/categories_list +++ b/_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: Notes: diff --git a/_includes/JB/liquid_raw b/_includes/JB/liquid_raw index 54a15e48d5..0bd9598fa1 100644 --- a/_includes/JB/liquid_raw +++ b/_includes/JB/liquid_raw @@ -11,7 +11,7 @@ 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 %.| @@ -19,7 +19,7 @@ Usage: |.% 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%} diff --git a/_includes/JB/pages_list b/_includes/JB/pages_list index 0e9ba87183..c247a42cac 100644 --- a/_includes/JB/pages_list +++ b/_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: Grouping: (optional): diff --git a/_includes/JB/posts_collate b/_includes/JB/posts_collate index 42adef7605..4b344aa7ef 100644 --- a/_includes/JB/posts_collate +++ b/_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. diff --git a/_includes/JB/tags_list b/_includes/JB/tags_list index f0ee45fc44..38725f3f92 100644 --- a/_includes/JB/tags_list +++ b/_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: Notes: diff --git a/_includes/themes/mark-reid/post.html b/_includes/themes/mark-reid/post.html index 45b5984f33..76cbaed58d 100644 --- a/_includes/themes/mark-reid/post.html +++ b/_includes/themes/mark-reid/post.html @@ -3,7 +3,7 @@

{{ page.title }}

{{ content }} diff --git a/_includes/themes/the-minimum/post.html b/_includes/themes/the-minimum/post.html index 9b5316ba2a..4e6f11ce3d 100644 --- a/_includes/themes/the-minimum/post.html +++ b/_includes/themes/the-minimum/post.html @@ -24,12 +24,12 @@

{{ page.title }}

diff --git a/_includes/themes/twitter/default.html b/_includes/themes/twitter/default.html index 953ec63034..cb1f3063b7 100644 --- a/_includes/themes/twitter/default.html +++ b/_includes/themes/twitter/default.html @@ -33,7 +33,7 @@ diff --git a/_includes/themes/twitter/post.html b/_includes/themes/twitter/post.html index ebf66caf6f..3c22eb2a68 100644 --- a/_includes/themes/twitter/post.html +++ b/_includes/themes/twitter/post.html @@ -33,7 +33,7 @@

Published

Tags

{% endunless %} diff --git a/_posts/core-samples/2011-12-29-jekyll-introduction.md b/_posts/core-samples/2011-12-29-jekyll-introduction.md index 0519fb3774..0722bee929 100644 --- a/_posts/core-samples/2011-12-29-jekyll-introduction.md +++ b/_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 ...{% endcapture %} -{% include helpers/liquid_raw.html %} +{% include JB/liquid_raw %} ### Sub-Templates diff --git a/archive.html b/archive.html index 683459c662..dc7c0540e3 100644 --- a/archive.html +++ b/archive.html @@ -7,4 +7,4 @@ {% include JB/setup %} {% assign posts_collate = site.posts %} -{% include helpers/posts_collate.html %} \ No newline at end of file +{% include JB/posts_collate %} \ No newline at end of file diff --git a/categories.html b/categories.html index b95b0ae0d5..cdb8789f50 100644 --- a/categories.html +++ b/categories.html @@ -8,7 +8,7 @@ @@ -16,7 +16,7 @@

{{ category[0] | join: "/" }}

{% endfor %} diff --git a/pages.html b/pages.html index 4b298ce418..bde1a329fc 100644 --- a/pages.html +++ b/pages.html @@ -9,5 +9,5 @@

All Pages

diff --git a/tags.html b/tags.html index 6a29279fd9..5e216cb3b2 100644 --- a/tags.html +++ b/tags.html @@ -8,7 +8,7 @@ @@ -16,6 +16,6 @@

{{ tag[0] }}

{% endfor %}