@{ string title = Document.ContainsKey(Keys.Title) ? $"Spectre.Console - {Document.GetString(Keys.Title)}" : "Spectre.Console"; string description = Document.ContainsKey(Constants.Description) ? Document.GetString(Constants.Description) : "Spectre.Console is a .NET Standard 2.0 library that makes it easier to create beautiful console applications"; var card = Outputs.FirstOrDefault(i => i.GetString("DocId") == Model.Id.ToString()); var urlBase = $"https://{Document.GetString(Keys.Host)}/"; } @title @if(card != null){ }

@(Document.GetString(Keys.Title) ?? Document.GetTitle())

@RenderSection("subheading", required: false)
@RenderBody()