forked from tcarleton/EDS-222-stats
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtopic_7.Rmd
More file actions
18 lines (13 loc) · 721 Bytes
/
topic_7.Rmd
File metadata and controls
18 lines (13 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
title: "Topic 7: Remove tables of contents"
---
<p style="color: #ba5e00"><b>TO UPDATE THIS PAGE:</b> Open and edit the <b>topic_7.Rmd</b> file, in the project root, to delete this placeholder text and customize with your own!</p>
In this template, you'll notice that a Table of Contents is automatically created on pages with headings (starting with Level 2 headers as top-level items).
To remove the auto-table of contents, open the `_site.yml` file. In the `output` section, change the `toc: ` and `toc_float: ` fields to `false`.
That section in `_site.yml` would then look like this, and the table of contents won't appear:
```
output:
distill::distill_article:
toc: false
toc_float: false
```