Skip to content

Commit

Permalink
Provide set_paths to all layouts
Browse files Browse the repository at this point in the history
  • Loading branch information
plusjade committed Jan 22, 2012
1 parent 75fa188 commit fe33e51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fe33e51

Please sign in to comment.