@inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.PageViewModel>
@{
    string? paragraphId = Dynamicweb.Context.Current?.Request?.QueryString.Get("ParagraphID") ?? null;
}
 
@if (paragraphId is not null) {
    @RenderParagraphContent(Convert.ToInt32(paragraphId))
}
else
{
    @Model.Grid("Grid", "Grid", "default:true;sort:1", "Page")
    
    @* Render classic content, if any *@
    @Model.Placeholder("dwcontent", "content", "default:true;sort:1")
}
