Update layout.md (#14096)
parent
79d84fd586
commit
5df3c11d2c
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue