Update layout.md (#14096)

pull/14118/head
Rick Anderson 2019-08-30 17:09:30 -07:00 committed by GitHub
parent 79d84fd586
commit 5df3c11d2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ The layout specified can use a full path (for example, */Pages/Shared/_Layout.cs
By default, every layout must call `RenderBody`. Wherever the call to `RenderBody` is placed, the contents of the view will be rendered.
<a name="layout-sections-label"></a>
<!-- https://stackoverflow.com/questions/23327578 -->
### Sections
A layout can optionally reference one or more *sections*, by calling `RenderSection`. Sections provide a way to organize where certain page elements should be placed. Each call to `RenderSection` can specify whether that section is required or optional: