Sha256: 6faa4f9d7312f21affe13a2ab62179c528b3966c5eda7b10fd6f2c6ce777bcce

Contents?: true

Size: 290 Bytes

Versions: 2

Compression:

Stored size: 290 Bytes

Contents

class Brief::Apps::Blueprint::Page
  include Brief::Model

  meta do
    title
    category
    tags Array
  end

  content do
    title "h1:first-of-type"
    tagline "h2:first-of-type"
    paragraph "p:first-of-type"
    yaml_data "code.yaml:first-of-type", :serialize => :yaml
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
brief-1.6.1 apps/blueprint/models/page.rb
brief-1.6.0 apps/blueprint/models/page.rb