Question

I'm building a website with nanoc. I have my main index file and now I want to add a article section with some articles I've written. So I use:

nanoc create_item articles

to create this new section, but how do I create new items within this item I just created?

The url tree I want to achieve would be:

index.html
/articles/index.html
/articles/one.html
/articles/two.html

I now this is very basic stuff but I can't find any examples on the nanoc documentation.

Was it helpful?

Solution

You can use nanoc create_item articles/two, or you can simply create /articles/two.html manually. The create_item command is there for your convenience but you can easily create items by hand as well.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top