Mention index.html for index page in docs

This commit is contained in:
Vincent Prouillet 2017-11-26 11:34:18 +01:00
parent d43e32dfcc
commit 638d4d7bc3

View file

@ -40,7 +40,8 @@ toc: Array<Header>;
```
## Section variables
By default, Gutenberg will try to load `templates/section.html`. If there isn't
By default, Gutenberg will try to load `templates/index.html` for `content/_index.md`
and `templates/section.html` for others `_index.md` files. If there isn't
one, it will render the built-in template: a blank page.
Whichever template you decide to render, you will get a `section` variable in your template