سؤال

I want to rename content/index.html to content/index.md and use markdown, but my rule for /index/ is being ignored; nanoc show-rules shows it compiling it using more generic rules.

How do I set rules for the index page?

هل كانت مفيدة؟

المحلول

Turns out you have to use compile '/' to match content/index.md.

This is what the documentation means when it says:

There is one “root” or “home” page which has identifier /

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top