Sha256: 73c777c0d5a02ab77904568722a4d5b260c8b425257ccc233090e710709c8c67
Contents?: true
Size: 1.39 KB
Versions: 3
Compression:
Stored size: 1.39 KB
Contents
# # «=» # ^ # $ «« ^¨^ »» $ # '' '' # . # «=» # ^ # «« ^¨^ »» # LAYDOWN # ''|'|'' # | | |> # | | ______|_ # | | | oo | #'''''''''''''''''''''''''''''****** Quick HTML5 layouts. # $ gem install laydown require 'laydown' layout = Laydown.new( charset: 'utf-8' # default title: 'A man in a #{@where}', description: 'Very interesting', favicon: 'pill.png', keywords: ['man', :@keywords], css: ['site.css', :@css], js: ['app.js', :@js], inline_js: ['alert("#{@msg}");'], head: '<meta soundtrack="Piazzolla">', body: :yield, # default body_class: ['dark', :@body_class], ga_code: 'google_analytics_id' ) # ---------------------------- @where = 'cave' @keywords = 'cave, interesting' @css = 'somesheet.css' layout.render(self, :msg => 'hello') { '<p>body text</p>' } # => your html5 layout ### Features * Fast * Small footprint * Built on Temple and Tilt ### Copyright Copyright (c) 2011 Jostein Berre Eliassen. See LICENCE for details. (MIT licence)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
laydown-0.7.1 | README.md |
laydown-0.7.0 | README.md |
laydown-0.6.2 | README.md |