lib/gollum-site/site.rb in gollum-site-0.0.1 vs lib/gollum-site/site.rb in gollum-site-0.0.2

- old
+ new

@@ -3,10 +3,12 @@ attr_reader :output_path def initialize(wiki, options = {}) @wiki = wiki @output_path = options[:output_path] || "_site" - @include_default_layout = options[:include_default_layout] || true + if (@include_default_layout = options[:include_default_layout]).nil? + @include_default_layout = true + end end # Public: generate a static site # # version - The String version ID to generate (default: "master").