diff options
author | Jade Dominguez <plusjade@gmail.com> | 2012-01-23 05:00:46 -0800 |
---|---|---|
committer | Jade Dominguez <plusjade@gmail.com> | 2012-01-23 05:00:46 -0800 |
commit | 3f0579cc7c1090ccd31308807ac011e8cc56057d (patch) | |
tree | 1693a3718d76ab9a03feaa7dbc199b51f1338489 /_includes | |
parent | 6c0b6c1a1b643d5ffebd2577e98b44db58df09ec (diff) |
Place paths to main pages in JB hash
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/JB/categories_list | 4 | ||||
-rw-r--r-- | _includes/JB/tags_list | 4 | ||||
-rw-r--r-- | _includes/themes/twitter/post.html | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/_includes/JB/categories_list b/_includes/JB/categories_list index 96d2f36..1f7e45b 100644 --- a/_includes/JB/categories_list +++ b/_includes/JB/categories_list @@ -22,13 +22,13 @@ Usage: {% else %} {% if categories_list.first[0] == null %} {% for category in categories_list %} - <li><a href="{{ BASE_PATH }}{{ site.var.categories_path }}#{{ category }}-ref"> + <li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}#{{ category }}-ref"> {{ category | join: "/" }} <span>{{ site.categories[category].size }}</span> </a></li> {% endfor %} {% else %} {% for category in categories_list %} - <li><a href="{{ BASE_PATH }}{{ site.var.categories_path }}#{{ category[0] }}-ref"> + <li><a href="{{ BASE_PATH }}{{ site.JB.categories_path }}#{{ category[0] }}-ref"> {{ category[0] | join: "/" }} <span>{{ category[1].size }}</span> </a></li> {% endfor %} diff --git a/_includes/JB/tags_list b/_includes/JB/tags_list index a6d68e8..9a93d90 100644 --- a/_includes/JB/tags_list +++ b/_includes/JB/tags_list @@ -22,11 +22,11 @@ Usage: {% else %} {% if tags_list.first[0] == null %} {% for tag in tags_list %} - <li><a href="{{ BASE_PATH }}{{ site.var.tags_path }}#{{ tag }}-ref">{{ tag }} <span>{{ site.tags[tag].size }}</span></a></li> + <li><a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag }}-ref">{{ tag }} <span>{{ site.tags[tag].size }}</span></a></li> {% endfor %} {% else %} {% for tag in tags_list %} - <li><a href="{{ BASE_PATH }}{{ site.var.tags_path }}#{{ tag[0] }}-ref">{{ tag[0] }} <span>{{ tag[1].size }}</span></a></li> + <li><a href="{{ BASE_PATH }}{{ site.JB.tags_path }}#{{ tag[0] }}-ref">{{ tag[0] }} <span>{{ tag[1].size }}</span></a></li> {% endfor %} {% endif %} {% endif %} diff --git a/_includes/themes/twitter/post.html b/_includes/themes/twitter/post.html index 3c22eb2..416af10 100644 --- a/_includes/themes/twitter/post.html +++ b/_includes/themes/twitter/post.html @@ -13,7 +13,7 @@ {% else %} <li class="prev disabled"><a>← Previous</a></li> {% endif %} - <li><a href="{{ BASE_PATH }}{{site.var.archive_path}}">Archive</a></li> + <li><a href="{{ BASE_PATH }}{{ site.JB.archive_path }}">Archive</a></li> {% if page.next %} <li class="next"><a href="{{ BASE_PATH }}{{ page.next.url }}" title="{{ page.next.title }}">Next →</a></li> {% else %} |