Sha256: 514aadfad75896498ad57908cd99ac1cade48eb2ff3df91e53b8b3411c51457c

Contents?: true

Size: 363 Bytes

Versions: 2

Compression:

Stored size: 363 Bytes

Contents

#!/usr/bin/env ruby

compile '/**/*.html' do
  layout '/default.*'
end

compile '/**/*.md' do
  if item[:filename] =~ /retrieve/
    layout '/retrieve.*'
  else
    layout '/default.*'
  end
end


route '/**/*.md' do
  item.identifier.without_ext + '/index.html'
end

route '/**/*.html}' do

end

route '/**/*' do
  item.identifier.to_s
end

layout '/**/*', :erb

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nanoc-conref-fs-0.2.1 test/fixtures/Rules
nanoc-conref-fs-0.2.0 test/fixtures/Rules