Sha256: f9b42b584624ee6fe37aefd79bb9386b6d73d9144208c2ad28c1ca5e712a6c7b

Contents?: true

Size: 510 Bytes

Versions: 70

Compression:

Stored size: 510 Bytes

Contents

root = Pathname(Dir.pwd)

config do
  # You can put any special brief configuration here
  # set(models_path: root.join('models')) if root.join('models').exist?
  # set(templates_path: root.join('templates')) if root.join('templates').exist?
  # set(docs_path: root.join('documents')) if root.join('documents').exist?
end


define "Post" do
  meta do
    title
    status :in => %w(draft published)
    tags Array
  end
  

  content do
    title "h1:first-of-type"
    subheading "h2:first-of-type"
  end
end

Version data entries

70 entries across 70 versions & 1 rubygems

Version Path
brief-1.11.9 examples/blog/brief.rb
brief-1.11.8 examples/blog/brief.rb
brief-1.11.7 examples/blog/brief.rb
brief-1.11.6 examples/blog/brief.rb
brief-1.11.5 examples/blog/brief.rb
brief-1.11.4 examples/blog/brief.rb
brief-1.11.3 examples/blog/brief.rb
brief-1.11.2 examples/blog/brief.rb
brief-1.11.1 examples/blog/brief.rb
brief-1.11.0 examples/blog/brief.rb
brief-1.10.1 examples/blog/brief.rb
brief-1.10.0 examples/blog/brief.rb
brief-1.9.14 examples/blog/brief.rb
brief-1.9.13 examples/blog/brief.rb
brief-1.9.12 examples/blog/brief.rb
brief-1.9.11 examples/blog/brief.rb
brief-1.9.9 examples/blog/brief.rb
brief-1.9.8 examples/blog/brief.rb
brief-1.9.7 examples/blog/brief.rb
brief-1.9.6 examples/blog/brief.rb