Merge pull request #526 from spl/patch-1

Fix typo (missing 's')
This commit is contained in:
Vincent Prouillet 2018-11-19 15:09:51 +01:00 committed by GitHub
commit 0bafd4784f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,13 +3,13 @@ title = "Table of Contents"
weight = 60 weight = 60
+++ +++
Each page/section will automatically generate a table of content for itself based on the headers present. Each page/section will automatically generate a table of contents for itself based on the headers present.
It is available in the template through `section.toc` and `page.toc`. It is available in the template through `section.toc` and `page.toc`.
You can view the [template variables](./documentation/templates/pages-sections.md#table-of-contents) You can view the [template variables](./documentation/templates/pages-sections.md#table-of-contents)
documentation for information on its structure. documentation for information on its structure.
Here is an example of using that field to render a 2-level table of content: Here is an example of using that field to render a 2-level table of contents:
```jinja2 ```jinja2
<ul> <ul>