In Jekyll, we write layout structure in a HTML file and put it in
_layout folder. Say, the
_layout folder has file named
welcome.html, for a webpage to use it, we simply specify as follows:
title: Awesome webpage
How to do the same when using nanoc? I thought it works the same way, but unfortunately, it seems like not picking up the welcome template. It is just picking up the default.html template.
Is it because of the file called
rule which has the following lines?
compile '/' do
I want only one specific file to pick up the
welcome layout. How to do it?