Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def page()
- "<!DOCTYPE html>"+
- self.html {
- H.head {
- self.title{H.entities @title}+
- self.meta(:charset => :utf8)+
- self.link(:href => "/css/style.css", :rel => "stylesheet",
- :type => "text/css")+
- self.link(:href => "/images/favicon.png", :rel => "shortcut icon")+
- self.script(:src =>
- "//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"){}+
- self.script(:src => "/js/app.js"){}
- }+
- self.body {
- self.div(:class => "container") {
- _header+H.content{yield}+_footer
- }
- }
- }
- end
Add Comment
Please, Sign In to add comment