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.17.14 examples/blog/brief.rb
brief-1.17.13 examples/blog/brief.rb
brief-1.17.12 examples/blog/brief.rb
brief-1.17.11 examples/blog/brief.rb
brief-1.17.10 examples/blog/brief.rb
brief-1.17.9 examples/blog/brief.rb
brief-1.17.8 examples/blog/brief.rb
brief-1.17.7 examples/blog/brief.rb
brief-1.17.5 examples/blog/brief.rb
brief-1.17.4 examples/blog/brief.rb
brief-1.17.3 examples/blog/brief.rb
brief-1.17.2 examples/blog/brief.rb
brief-1.17.1 examples/blog/brief.rb
brief-1.17.0 examples/blog/brief.rb
brief-1.16.2 examples/blog/brief.rb
brief-1.16.1 examples/blog/brief.rb
brief-1.16.0 examples/blog/brief.rb
brief-1.15.5 examples/blog/brief.rb
brief-1.15.4 examples/blog/brief.rb
brief-1.15.3 examples/blog/brief.rb