Sha256: f10d767ee2c50b077101c5419431873d56aaf1876b3d6c3dd55fc5ea01f38449

Contents?: true

Size: 337 Bytes

Versions: 9

Compression:

Stored size: 337 Bytes

Contents

require "middleman-blog"
activate :blog do |blog|
  blog.prefix       = "blog/"
  blog.sources      = ":year-:month-:day-:title.html"
  blog.permalink    = ":year-:month-:day-:title.html"

  blog.custom_collections = {
    :category => {
      :link     => '/categories/:category.html',
      :template => '/category.html'
    }
  }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
middleman-blog-4.0.2 fixtures/custom-collections-app/config-blog-prefix.rb
middleman-blog-4.0.1 fixtures/custom-collections-app/config-blog-prefix.rb
middleman-blog-4.0.0 fixtures/custom-collections-app/config-blog-prefix.rb
middleman-blog-3.6.0.beta.2 fixtures/custom-collections-app/config-blog-prefix.rb
middleman-blog-3.5.3 fixtures/custom-collections-app/config-blog-prefix.rb
middleman-blog-3.5.2 fixtures/custom-collections-app/config-blog-prefix.rb
middleman-blog-3.5.1 fixtures/custom-collections-app/config-blog-prefix.rb
middleman-blog-3.5.0 fixtures/custom-collections-app/config-blog-prefix.rb
middleman-blog-3.4.1 fixtures/custom-collections-app/config-blog-prefix.rb