module Juggalo

Constants

VERSION

Public Class Methods

run(template_location, layout_location) click to toggle source
# File lib/juggalo.rb, line 7
def self.run(template_location, layout_location)
  adapter = Page::Loader::YAML.new layout_location
  loader  = Page::Loader.new(adapter)
  layout  = Layout.new template_location
  page    = Page.new(layout, loader)

  page.compile
end