lib/view.rb in runeblog-0.3.03 vs lib/view.rb in runeblog-0.3.04

- old
+ new

@@ -12,9 +12,13 @@ @blog = RuneBlog.blog @name = name @publisher = RuneBlog::Publishing.new(name) @can_publish = true # FIXME @blog.view = self + get_globals + end + + def get_globals gfile = @blog.root/"views/#{name}/themes/standard/global.lt3" return unless File.exist?(gfile) # Hackish!! how is View.new called from create_view?? live = Livetext.customize(call: ".nopara") live.xform_file(gfile)