staticmatic 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -158,6 +158,9 @@ module StaticMatic
158
158
  Dir["#{@src_dir}/pages/**/*.haml"].each do |path|
159
159
  template = source_template_from_path(path)
160
160
  save_page(template, generate_html_with_layout(template))
161
+
162
+ # reset the layout for the next page
163
+ @scope.instance_variable_set("@layout", "application")
161
164
  end
162
165
  end
163
166
 
Binary file
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: staticmatic
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.7.0
6
+ version: 0.7.1
7
7
  date: 2007-08-26 00:00:00 +01:00
8
8
  summary: Manage static sites using Haml & Sass
9
9
  require_paths:
@@ -60,6 +60,7 @@ files:
60
60
  - lib/staticmatic.rb
61
61
  - RakeFile
62
62
  - README
63
+ - staticmatic-0.7.0.gem
63
64
  - test
64
65
  - test/base_test.rb
65
66
  - test/helpers_test.rb