Permalink
Browse files

adding setup code in JB helpers

  • Loading branch information...
narkisr committed Apr 13, 2012
1 parent c12c153 commit f7a59b8c88510349bba1b27fe8a75459ea7617dc
Showing with 9 additions and 4 deletions.
  1. +1 −1 _config.yml
  2. +2 −1 _includes/JB/categories_list
  3. +3 −1 _includes/JB/pages_list
  4. +3 −1 _includes/JB/posts_collate
View
@@ -13,7 +13,7 @@ title : Lambda pod
tagline: Site Tagline
author :
github : narkisr
- twitter : https://twitter.com/#!/saylambda
+ twitter : saylambda
# The production_url is only used when full-domain names are needed
# such as sitemap.txt
@@ -17,6 +17,7 @@ Usage:
This helper can be seen in use at: ../_layouts/default.html
-->{% endcomment %}
+{% include JB/setup %}
{% if site.JB.categories_list.provider == "custom" %}
{% include custom/categories_list %}
{% else %}
@@ -34,4 +35,4 @@ Usage:
{% endfor %}
{% endif %}
{% endif %}
-{% assign categories_list = nil %}
+{% assign categories_list = nil %}
View
@@ -20,6 +20,8 @@ Usage:
This helper can be seen in use at: ../_layouts/default.html
-->{% endcomment %}
+{% include JB/setup %}
+
{% if site.JB.pages_list.provider == "custom" %}
{% include custom/pages_list %}
{% else %}
@@ -34,4 +36,4 @@ Usage:
{% endfor %}
{% endif %}
{% assign pages_list = nil %}
-{% assign group = nil %}
+{% assign group = nil %}
@@ -17,6 +17,8 @@ Usage:
-->{% endcomment %}
+{% include JB/setup %}
+
{% if site.JB.posts_collate.provider == "custom" %}
{% include custom/posts_collate %}
{% else %}
@@ -52,4 +54,4 @@ Usage:
{% endif %}
{% endfor %}
{% endif %}
-{% assign posts_collate = nil %}
+{% assign posts_collate = nil %}

0 comments on commit f7a59b8

Please sign in to comment.