Sha256: df0503906ae14088542c2361b45ba6602e9849b4066db02b507d9ff39bf12c07
Contents?: true
Size: 684 Bytes
Versions: 17
Compression:
Stored size: 684 Bytes
Contents
class StylesheetsDataset < Dataset::Base uses :home_page def load create_page "css", :slug => 'css', :class_name => 'StylesheetPage' do create_page "site.css", :slug => 'site.css', :class_name => 'StylesheetPage' do create_page_part 'site_css_body', :name => 'body', :content => 'p { color: blue; }' end create_page "sassy.sass", :slug => 'sassy.sass', :class_name => 'StylesheetPage' do create_page_part 'sass_body', :name => 'body', :content => 'header background: red', :filter_id => 'Sass' end create_page "container.css", :body => '<r:stylesheet slug="sassy.css" />', :class_name => 'StylesheetPage' end end end
Version data entries
17 entries across 17 versions & 2 rubygems