diff --git a/docs/content/documentation/content/table-of-contents.md b/docs/content/documentation/content/table-of-contents.md index b42a4dfd..7a94c667 100644 --- a/docs/content/documentation/content/table-of-contents.md +++ b/docs/content/documentation/content/table-of-contents.md @@ -12,22 +12,24 @@ documentation for information on its structure. Here is an example of using that field to render a two-level table of contents: ```jinja2 - +{% if page.toc %} + +{% endif %} ``` While headers are neatly ordered in this example, it will work just as well with disjoint headers.