rubyrulesnanoc

Nanoc layout compile Rules


I'm working with nanoc and I want my index.html to point to specific layout so I created that layout and it is called nosidebar.html

My Rules looks like:

compile 'index.html' do 
  layout 'nosidebar'
end

and this doesn't seem to work. What am I doing wrong?


Solution

  • I haven't done exactly what you are but maybe something like this:

    compile '/' do 
      rep.layout 'nosidebar'
    end