summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorJade Dominguez <plusjade@gmail.com>2012-01-21 18:09:53 -0800
committerJade Dominguez <plusjade@gmail.com>2012-01-21 18:10:43 -0800
commitfe33e5180c3a9e9ede03d36c758c47fcd1dee406 (patch)
tree5fde3bbccb225224fad5be1045266156500abf85 /Rakefile
parent75fa188fa728afea2ad53925b77e317d9b134417 (diff)
Provide set_paths to all layouts
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 8fd3539..3978585 100644
--- a/Rakefile
+++ b/Rakefile
@@ -50,12 +50,12 @@ task :switch_theme, :theme do |t, args|
page.puts "---"
page.puts File.read(settings_file) if File.exist?(settings_file)
page.puts "---"
- page.puts "{% assign theme_asset_path = \"/assets/themes/#{args.theme}\" %}"
else
page.puts "---"
page.puts "layout: default"
page.puts "---"
end
+ page.puts "{% include JB/set_paths %}"
page.puts "{% include themes/#{args.theme}/#{File.basename(filename)} %}"
end
end