Browse Source

Mention index.html for index page in docs

index-subcmd
Vincent Prouillet 7 years ago
parent
commit
638d4d7bc3
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      docs/content/documentation/templates/pages-sections.md

+ 2
- 1
docs/content/documentation/templates/pages-sections.md 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


Loading…
Cancel
Save