Skip to content

Commit 0790040

Browse files
committed
Remove unused "tree" metadata variable
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent cec5201 commit 0790040

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ following keys are supported. The title, description, and keywords are required.
215215
| notoc | no | Either `true` or `false`. If `true`, no in-page TOC is generated for the HTML output of this page. Defaults to `false`. Appropriate for some landing pages that have no in-page headings.|
216216
| toc_min | no | Ignored if `notoc` is set to `true`. The minimum heading level included in the in-page TOC. Defaults to `2`, to show `<h2>` headings as the minimum. |
217217
| toc_max | no | Ignored if `notoc` is set to `false`. The maximum heading level included in the in-page TOC. Defaults to `3`, to show `<h3>` headings. Set to the same as `toc_min` to only show `toc_min` level of headings. |
218-
| tree | no | Either `true` or `false`. Set to `false` to disable the left-hand site-wide navigation for this page. Appropriate for some pages like the search page or the 404 page. |
219218
| no_ratings | no | Either `true` or `false`. Set to `true` to disable the page-ratings applet for this page. Defaults to `false`. |
220219
| skip_read_time | no | Set to `true` to disable the 'Estimated reading time' banner for this page. |
221220
| sitemap | no | Exclude the page from indexing by search engines. When set to `false`, the page is excluded from `sitemap.xml`, and a `<meta name="robots" content="noindex"/>` header is added to the page. |

_config.yml

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ defaults:
4141
layout: docs
4242
toc_min: 2
4343
toc_max: 3
44-
tree: true
4544

4645
# Set the correct edit-URL for upstream resources. We usually don't create a direct
4746
# edit link for these, and instead point to the directory that contains the file.

_includes/body.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h1>{{ page.title }}</h1>
1919
{%- if page.advisory -%}
2020
<blockquote>{{ site.data.advisories.texts[page.advisory] | markdownify }}</blockquote>
2121
{%- endif -%}
22-
{%- unless page.tree == false or page.skip_read_time == true -%}{% include read_time.html %}{%- endunless -%}
22+
{%- unless page.skip_read_time == true -%}{% include read_time.html %}{%- endunless -%}
2323
{{ content }}
2424
{%- unless page.notags == true -%}
2525
{%- assign keywords = page.keywords | split:"," -%}

0 commit comments

Comments
 (0)