Skip to content

Commit

Permalink
update layout example
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-haskell committed Jun 9, 2022
1 parent 6d87c97 commit 68cdb46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/guide/layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Let's add in a bit of HTML to our new layout, so that we render a sidebar next t
<code-group>
<code-block title="src/Layouts/Sidebar.elm">

```elm{14,21-27}
```elm{14-15,21-27}
module Layouts.Sidebar exposing (layout)
import Html exposing (Html)
Expand All @@ -75,7 +75,7 @@ layout { page } =
[ Html.div
[ Attr.class "layout" ]
[ viewSidebar
, page
, Html.div [ Attr.class "page" ] page.body
]
]
}
Expand Down

0 comments on commit 68cdb46

Please sign in to comment.