# Layouts

Set a layout with `layout:` in front matter. Pages without one use `doc`.

| Layout | Use it for |
| --- | --- |
| `doc` | Documentation pages with a table of contents, breadcrumb and sidebar |
| `post` | Blog posts in `_posts/` |
| `archive` | Tag and category index pages |
| `default` | A bare page: header, body and footer only |

<!-- spec:docs-index:begin -->
- [Page shells](shells/) — Page shells for every kind of page, each with its own optional stylesheet.
- [Directory layouts](directory/) — Card lists for projects, people, jobs, events, sponsors and integrations, with a filter that needs no JavaScript.
- [Detail pages](detail/) — One page per project, case study, job, event or podcast episode, with a facts list, one call to action and structured data.
- [Marketing pages](marketing/) — Feature, pricing, download, brand, link and contact pages with a shared optional stylesheet.
- [Blog and news](blog-news/) — Blog indexes, news front pages, article bylines, author pages and Atom feeds.
- [Docs extras](docs-extra/) — Reference, changelog, roadmap, glossary, hub, course and book pages with one shared optional stylesheet.
- [Documents](documents/) — Legal pages and a print-first resume.
<!-- spec:docs-index:end -->
