Skip to content

Using Layouts

ignite comes with a few default layouts. For any of the pages these layouts are automatically assigned. If you wanted to you could use any layout for any page by specifying it in the front-matter for that page.

---
title: "My Page"
layout: "docs"
---

---
title: "My Page"
layout: "docs"
---

Layouts

The following are all the default layouts included with ignite.

Renders the page with a NavBar above it.

---
layout: "nav-bar"
---

---
layout: "nav-bar"
---

docs

Renders the page with a NavBar above it and the sidebar for the folder.

---
layout: "docs"
---

---
layout: "docs"
---

blog

Renders the page with a NavBar and a special blog post header.

---
layout: "blog"
---

---
layout: "blog"
---

Read about the options this layout supports

home-page

Renders the page with a NavBar and a special home page header.

---
layout: "blog"
---

---
layout: "blog"
---

Read about the options this layout supports

TODO Adding Your Own Layouts

TODO Automatic Layout Matching