Skip to content

Commit

Permalink
Link to gatsby-plugin-layout from the "Life after Layouts" blog post (g…
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews authored and gpetrioli committed Jan 22, 2019
1 parent 8b68dfc commit fb57860
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/blog/2018-06-08-life-after-layouts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ So the Gatsby V2 beta is out, and Gatsby's [layout components are going away](ht

This article will dive into the Gatsby V2's approach to layouts, talk about what changed and why, and walk through the migration process to get your existing projects updated to V2.

If you still need the v1 layout behavior, checkout [gatsby-plugin-layout](/packages/gatsby-plugin-layout/).

## What changed?

In Gatsby V1, layouts were a special kind of component that automagically wrapped generated page components. They were stored in `src/layouts/`, and received a prop called `children` that needed to be executed as a function.
Expand Down

0 comments on commit fb57860

Please sign in to comment.