Skip to content

Commit

Permalink
adding setup code in JB helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
narkisr committed Apr 13, 2012
1 parent c12c153 commit f7a59b8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion _includes/JB/categories_list
Expand Up @@ -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 %}
Expand All @@ -34,4 +35,4 @@ Usage:
{% endfor %}
{% endif %}
{% endif %}
{% assign categories_list = nil %}
{% assign categories_list = nil %}
4 changes: 3 additions & 1 deletion _includes/JB/pages_list
Expand Up @@ -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 %}
Expand All @@ -34,4 +36,4 @@ Usage:
{% endfor %}
{% endif %}
{% assign pages_list = nil %}
{% assign group = nil %}
{% assign group = nil %}
4 changes: 3 additions & 1 deletion _includes/JB/posts_collate
Expand Up @@ -17,6 +17,8 @@ Usage:

-->{% endcomment %}

{% include JB/setup %}

{% if site.JB.posts_collate.provider == "custom" %}
{% include custom/posts_collate %}
{% else %}
Expand Down Expand Up @@ -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.