|
@@ -40,7 +40,8 @@ toc: Array<Header>; |
|
|
``` |
|
|
``` |
|
|
|
|
|
|
|
|
## Section variables |
|
|
## 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. |
|
|
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 |
|
|
Whichever template you decide to render, you will get a `section` variable in your template |
|
|