# _index.md page template instructions An example template with best-practices that you can use for creating a new `_index.md` file. Generally, you only need to create a `_index.md` file if are creating a new folder that contains (or will contain) multiple pages. Best practice is to avoid creating a folder that includes only a single page. [Learn more about the `_index.md` file](https://gohugo.io/content-management/organization/#index-pages-_indexmd). [**Copy a version of this template without the instructions**](#copy-the-template) ## Frontmatter [Hugo](https://gohugo.io/) uses a set of metadata at the beginning of each page called [frontmatter](https://gohugo.io/content-management/front-matter/) to define website build required info as well as other blog page details. Frontmatter is strict YAML syntax and must be added to the top of every page. Example formatting template: ```yaml --- title: "" #linkTitle: "" weight: 50 type: "docs" showlandingtoc: "false" --- ``` ``` ``` ``` ``` ``` ``` The following demonstrates a generic landing page. For more information about stucturing a how-to guide, see the [new page template instructions](template-docs-page.md). Learn how to do something very cool. ``` ``` You can set `showlandingtoc:` to `"true"` and dynamically render an in-page TOC below the body of the text you add in this page. # Copy the template ```yaml --- title: "" linkTitle: "" weight: 50 type: "docs" showlandingtoc: "false" --- Learn how to do something very cool. ```