diff options
author | Jade Dominguez <plusjade@gmail.com> | 2012-01-21 18:09:53 -0800 |
---|---|---|
committer | Jade Dominguez <plusjade@gmail.com> | 2012-01-21 18:10:43 -0800 |
commit | fe33e5180c3a9e9ede03d36c758c47fcd1dee406 (patch) | |
tree | 5fde3bbccb225224fad5be1045266156500abf85 /Rakefile | |
parent | 75fa188fa728afea2ad53925b77e317d9b134417 (diff) |
Provide set_paths to all layouts
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |