From 638d4d7bc31b8667df06c28065b7c41e66bcce60 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Sun, 26 Nov 2017 11:34:18 +0100 Subject: [PATCH] Mention index.html for index page in docs --- docs/content/documentation/templates/pages-sections.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/content/documentation/templates/pages-sections.md b/docs/content/documentation/templates/pages-sections.md index 61ac817..f09c777 100644 --- a/docs/content/documentation/templates/pages-sections.md +++ b/docs/content/documentation/templates/pages-sections.md @@ -40,7 +40,8 @@ toc: Array
; ``` ## 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