site/config.rb
# Generate an OSX-style window.
Generate an OSX-style window.
Generate an OSX - style window .
def window(options = {}, &block)
    content_id = options[:id] || ""
    <<-HTML
    <div class="page">
      <div class="titlebar">
        <div class="dot close"></div><div class="dot minimise"></div><div class="dot maximise"></div>
      </div>
      <div id="#{content_id}">
        #{capture(&block) if block_given?}
      </div>
    </div>
    HTML
  end
def window ( options = { } , & block ) content_id = options [ :id ] || "" <<-HTML 
    <div class="page">
      <div class="titlebar">
        <div class="dot close"></div><div class="dot minimise"></div><div class="dot maximise"></div>
      </div>
      <div id=" #{ content_id } ">
         #{ capture ( & block ) if block_given? } 
      </div>
    </div>
     HTML end
Generate an OSX-style window.
Generate an OSX - style window .
options
block