ContentPlaceHolder in Razor?

Solution 1:

Yet again I managed to ask before finding the correct search keywords in Google.

In the layout

@RenderSection("footer", required: false)  

View example

<h2>About</h2> 

<p>   
    Some stuff about this page.   
</p> 

<p> 
    The current date and time: @DateTime.Now  
</p> 

@section footer { 

    Copyright (c) 2010, Robert Sundström. 

}

Solution 2:

Couldn't leave a comment sorry but you can remove the "required:"

@RenderSection("footer", false)