summaryrefslogtreecommitdiff
path: root/_layouts
diff options
context:
space:
mode:
authorJade Dominguez <plusjade@gmail.com>2012-01-23 00:52:44 -0800
committerJade Dominguez <plusjade@gmail.com>2012-01-23 00:52:44 -0800
commita1a7efaf71ca45188737a73aca11aa8e05f8502a (patch)
treec3407a5dc0ea776b9a5aa573639eb3575be14938 /_layouts
parent7ef7288a3338be437ff41c824aa4814631b88add (diff)
Include 'JB/setup' in all posts and pages
This is the only way we can have global access to dynamic liquid variables. Using site configuration is too convulated since switching themes and runing in development vs. production relies on being able to dynamically define variables
Diffstat (limited to '_layouts')
-rw-r--r--_layouts/default.html2
-rw-r--r--_layouts/page.html2
-rw-r--r--_layouts/post.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 32e9b83..2d9be07 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -2,5 +2,5 @@
theme :
name : twitter
---
-{% include JB/set_paths %}
+{% include JB/setup %}
{% include themes/twitter/default.html %}
diff --git a/_layouts/page.html b/_layouts/page.html
index c1bef1b..a4a2d0b 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -1,5 +1,5 @@
---
layout: default
---
-{% include JB/set_paths %}
+{% include JB/setup %}
{% include themes/twitter/page.html %}
diff --git a/_layouts/post.html b/_layouts/post.html
index d77763a..9971d7c 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -1,5 +1,5 @@
---
layout: default
---
-{% include JB/set_paths %}
+{% include JB/setup %}
{% include themes/twitter/post.html %}