tiny_site 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/tiny_site.rb CHANGED
@@ -90,7 +90,7 @@ class TinySite
90
90
  global = TextileParts.parse @global_file, @image_path
91
91
  page = TextileParts.parse page_file, @image_path
92
92
 
93
- render_layout :global => global, :page => page
93
+ render_layout :global => global, :page => page, :env => {:path => @path, :query_string => @query_string}
94
94
  end
95
95
 
96
96
  def render_layout(params)
@@ -1,3 +1,3 @@
1
1
  class TinySite
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: tiny_site
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.4
5
+ version: 0.1.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - Niko Dittmann