Skip to content

Sinatra plugin to enable markaby (.mab) template rendering

License

Notifications You must be signed in to change notification settings

alexch/sinatra-erector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sinatra-erector

sinatra-erector is an extension for sinatra to enable rendering of html files using erector templates.

Installation

# TODO: make it part of Erector

sudo gem install sbfaulkner-sinatra-erector -s http://gems.github.com

Example

require 'rubygems'
require 'sinatra'
require 'sinatra/erector'

get '/' do
  erector :template
end

__END__
Author
  1. Brent Faulkner <brentf@unwwwired.net>

License

Copyright © 2009 unwwwired.net, released under the MIT license

About

Sinatra plugin to enable markaby (.mab) template rendering

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%